[FFmpeg-devel] MOV Muxer fix to respect the standard

Baptiste Coudurier baptiste.coudurier
Fri May 22 19:53:00 CEST 2009


On 5/22/2009 8:03 AM, Reimar D?ffinger wrote:
> On Fri, May 22, 2009 at 04:59:55PM +0200, Larbi Joubala wrote:
>> Index: movenc.c
>> ===================================================================
>> --- movenc.c	(revision 18893)
>> +++ movenc.c	(working copy)
>> @@ -1013,8 +1013,11 @@
>>      put_be32(pb ,0); /* reserved */
>>      put_be32(pb ,0); /* reserved */
>>      put_be32(pb ,0); /* reserved */
>> -    put_byte(pb, strlen(descr)); /* string counter */
>> +    if (track && track->mode == MODE_MOV || !track)
>> +        put_byte(pb, strlen(descr)); /* string counter */
> 
> if (!track || track->mode == MODE_MOV)

Yes, change this and patch is ok.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list