[Ffmpeg-cvslog] r6072 - in trunk: libavformat/movenc.c tests/ffmpeg.regression.ref tests/rotozoom.regression.ref

Alex Beregszaszi alex
Sun Nov 12 13:51:06 CET 2006


Hi,

> Log:
> wide atom is only defined in mov, use free for mp4/3gp
> 
> Modified: trunk/libavformat/movenc.c
> =====================================================================
> ========= --- trunk/libavformat/movenc.c	(original)
> +++ trunk/libavformat/movenc.c	Thu Aug 24 12:32:09 2006
> @@ -1332,7 +1332,7 @@
>  static int mov_write_mdat_tag(ByteIOContext *pb, MOVContext* mov)
>  {
>      put_be32(pb, 8);    // placeholder for extended size field (64
>      bit)
> -    put_tag(pb, "wide");
> +    put_tag(pb, mov->mode == MODE_MOV ? "wide" : "free");

Why not just using free? IIRC mov has the 'free' atom too.

-- 
Alex Beregszaszi | alex at fsn.hu




More information about the ffmpeg-cvslog mailing list