[FFmpeg-devel] [PATCH v2] add put_bits_long to avoid undefined behaviour in put_bits

Diego Biurrun diego
Wed Sep 9 07:27:55 CEST 2009


On Tue, Sep 08, 2009 at 07:58:35PM +0000, matthieu CASTET wrote:
> Diego Biurrun <diego <at> biurrun.de> writes:
> 
> > On Tue, Aug 25, 2009 at 09:45:08PM +0200, matthieu castet wrote:
> > >  
> > > +static inline void put_bits_long(PutBitContext *s, int n, unsigned int
> > > +{
> > > +    if(n<=31) 
> > 
> > if (n <= 31)
> > 
> I copied it from get_bits_long style, but ok I will change it.

There is no such function in the file.

Diego



More information about the ffmpeg-devel mailing list