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

Carl Eugen Hoyos cehoyos at ag.or.at
Tue May 17 02:03:45 CEST 2011


Baptiste Coudurier <baptiste.coudurier <at> gmail.com> writes:

> >>> +    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.

Patch applied.

Carl Eugen





More information about the ffmpeg-devel mailing list