[MPlayer-dev-eng] [PATCH] ralf support with native demuxer

Roberto Togni rxt at rtogni.it
Sat May 26 20:00:34 CEST 2012


On Fri, 25 May 2012 00:37:18 +0200
Roberto Togni <rxt at rtogni.it> wrote:

Revised patch attached: useless comments removed and without realloc.

Also removed the 
> +		    if(demuxer->audio->id==stream_id){
> +			    sh->ds=demuxer->audio;
> +			    demuxer->audio->sh=sh;
> +		    }  
code, it works even without it.

Since most of this patch was copy&paste from other parts of the file,
should I remove this code also elsewhere? I'm not really up to date with
the lates api changes.

Same applies to the realloc: is it just lacking the check for failed
allocation, or is there some bigger issue?


Ciao,
 Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ralf.patch
Type: text/x-patch
Size: 1354 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20120526/05c09018/attachment.bin>


More information about the MPlayer-dev-eng mailing list