[Ffmpeg-devel] bitstream.h ALT_BITSTREAM_WRITER

Oded Shimon ods15
Fri Sep 22 16:38:28 CEST 2006


On Fri, Sep 22, 2006 at 02:29:40PM +0200, Michael Niedermayer wrote:
> Hi
> 
> On Fri, Sep 22, 2006 at 03:06:45PM +0300, Oded Shimon wrote:
> > Turns out, for my vorbis encoder is need ALT_BITSTREAM_WRITER (which i 
> > assumes means it goes in the opposite direction of bits inside a byte) I 
> 
> assumtion failure i think but its a long time ago that i touched that code ...
> 
> 
> > tried enabling this, and first thing I was hit with is this:
> > 
> > bitstream.h:326
> > #ifdef ALT_BITSTREAM_WRITER
> >         FIXME may need some cleaning of the buffer
> >         s->index += n<<3;
> > #else
> > 
> > Commented out that line. Got a warning on implicit decleration of 
> > align_put_bits() in bitstream.h:117 .
> > 
> > Compilation worked, but ffmpeg froze during encoding.
> 
> without looking at the backtrace, did you run make distclean?

Just 'make clean' .... backtrace doesn't look interesting anyway, it seems 
like an obvious buffer overflow..

- ods15




More information about the ffmpeg-devel mailing list