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

Baptiste Coudurier baptiste.coudurier
Sun Nov 12 14:00:09 CET 2006


Hi

Alex Beregszaszi a ?crit :
> 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.
> 

'wide' atom in mov specs defines explicitly that next atom can be 
extended to a 64bit one. I don't really mind though.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no




More information about the ffmpeg-cvslog mailing list