[FFmpeg-devel] [PATCH]Fix little-endian audio in mov

Baptiste Coudurier baptiste.coudurier at gmail.com
Tue May 17 01:04:44 CEST 2011


On 5/16/11 3:09 PM, Carl Eugen Hoyos wrote:
> Mike Scheutzow <mike.scheutzow <at> alcatel-lucent.com> writes:
> 
>>> -    little_endian = avio_rb16(pb);
>>> +    little_endian = avio_rb16(pb) & 0xF;
>>
>> Why did you chose a 4 bit mask? 8 bit would work for the examples you 
>> showed.
> 
> laziness only.
> 
> So what about ... & 0xFF?
> 

Ok, if it works.

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


More information about the ffmpeg-devel mailing list