[FFmpeg-devel] LIBMPEG2_BITSTREAM_READER vs. golomb.h

Michael Niedermayer michaelni
Mon Jul 14 05:11:15 CEST 2008


On Mon, Jul 14, 2008 at 04:48:01AM +0200, Michael Niedermayer wrote:
> On Mon, Jul 14, 2008 at 12:02:47AM +0100, M?ns Rullg?rd wrote:
> > I just spent some time bug-hunting, only to discover that the
> > exp-golomb functions in golomb.h do not work with
> > LIBMPEG2_BITSTREAM_READER.  This is because they rely on more than the
> > promised 17 bits to be available after an UPDATE_CACHE() call.
> > 
> > To avoid future mishaps, I was thinking of adding a preprocessor check
> > to golomb.h (I'm too lazy to try to make it work). 
> 
> try:

and btw, the else parts of these should maybe be in noinline
functions (no iam not planing to try, iam busy enough with patches and
bugs ATM)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080714/c4031c3b/attachment.pgp>



More information about the ffmpeg-devel mailing list