[FFmpeg-devel] [RFC] mixed-endian get_bits

Reimar Döffinger Reimar.Doeffinger
Thu Sep 30 21:16:43 CEST 2010


Hello,
this patch would, when ALT_BITSTREAM_READER is defined, provide an
alternative get_bits_le that behaves as the get_bits when
ALT_BITSTREAM_READER_LE is defined.
This is a hack that is due to the fact the GSM 06.10 and the MS
variant use different bitstream layouts.
The best idea I had without bloating neither code nor binary size
involes using this as in attached patch.
There are a lot of other ways to do this of course (manually parsing
the bitstream like other GSM decoders do certainly is not one I'd
consider good though).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gsm.diff
Type: text/x-diff
Size: 6592 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100930/a5d4398a/attachment.diff>



More information about the ffmpeg-devel mailing list