[MPlayer-dev-eng] [PATCH] 1 memcpy less in lavf demuxer

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jun 23 17:43:56 CEST 2010


On Tue, Jun 22, 2010 at 11:36:39PM +0200, Michael Niedermayer wrote:
> Index: libmpdemux/demux_lavf.c
> ===================================================================
> --- libmpdemux/demux_lavf.c	(revision 31528)
> +++ libmpdemux/demux_lavf.c	(working copy)
> @@ -612,14 +612,14 @@
>          return 1;
>      }
>  
> -    if(0/*pkt.destruct == av_destruct_packet*/){
> -        //ok kids, dont try this at home :)
> +    if(pkt.destruct == av_destruct_packet){

I suspect this won't trigger in some corner cases
(MinGW build linked against lavc dlls), but I guess
that's not really an issue...
If you think it should work, I'm for it, if it doesn't
work it will at least uncover some misunderstanding...



More information about the MPlayer-dev-eng mailing list