[FFmpeg-cvslog] r9890 - trunk/libavcodec/mpeg12.c

Michael Niedermayer michaelni
Fri Aug 10 01:37:44 CEST 2007


Hi

On Thu, Aug 09, 2007 at 10:56:30PM +0200, Aurelien Jacobs wrote:
> On Sat,  4 Aug 2007 13:01:11 +0200 (CEST)
> michael <subversion at mplayerhq.hu> wrote:
> 
> > Author: michael
> > Date: Sat Aug  4 13:01:11 2007
> > New Revision: 9890
> > 
> > Log:
> > make mpeg1/2 decoder work ith the libmpeg2 style bitstream reader
> > 
> > 
> > Modified:
> >    trunk/libavcodec/mpeg12.c
> > 
> > Modified: trunk/libavcodec/mpeg12.c
> > ==============================================================================
> > --- trunk/libavcodec/mpeg12.c	(original)
> > +++ trunk/libavcodec/mpeg12.c	Sat Aug  4 13:01:11 2007
> > @@ -737,7 +737,9 @@ static inline int mpeg1_decode_block_int
> >              if(((int32_t)GET_CACHE(re, &s->gb)) <= (int32_t)0xBFFFFFFF)
> >                  goto end;
> >          }
> > -
> > +#if MIN_CACHE_BITS < 19
> > +        UPDATE_CACHE(re, &s->gb);
> > +#endif
> > 
> > [...]
> 
> To me, if() would looks much better than #if.
> What about the attached patch ?

ok if the object files have the same md5

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

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- 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-cvslog/attachments/20070810/4767abb6/attachment.pgp>



More information about the ffmpeg-cvslog mailing list