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

Carl Eugen Hoyos cehoyos at ag.or.at
Tue May 17 00:09:07 CEST 2011


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?

Carl Eugen



More information about the ffmpeg-devel mailing list