[Ffmpeg-devel] VP3 decoding issue

Alexander Strasser eclipse7
Thu Dec 1 15:00:37 CET 2005


Hi,

Reimar D?ffinger wrote:
> On Mon, Oct 31, 2005 at 07:56:51PM +0100, Alexander Strasser wrote:
> >   Does the attached patch fix the crash?
> > It would also fix the timing macros for some more platforms
> > (mingw and cygwin) but i don't know if it breaks some others
> > too.
> > 
> >   Alex (beastd)
> 
> > Index: libavutil/common.h
> > ===================================================================
> > RCS file: /cvsroot/ffmpeg/ffmpeg/libavutil/common.h,v
> > retrieving revision 1.153
> > diff -u -r1.153 common.h
> > --- libavutil/common.h	19 Sep 2005 23:26:47 -0000	1.153
> > +++ libavutil/common.h	31 Oct 2005 17:31:22 -0000
> > @@ -512,7 +512,7 @@
> >    }else\
> >        tskip_count++;\
> >    if(256*256*256*64%(tcount+tskip_count)==0){\
> > -      av_log(NULL, AV_LOG_DEBUG, "%Ld dezicycles in %s, %d runs, %d skips\n", tsum*10/tcount, id, tcount, tskip_count);\
> > +      av_log(NULL, AV_LOG_DEBUG, "%"PRIu64" dezicycles in %s, %d runs, %d skips\n", tsum*10/tcount, id, tcount, tskip_count);\
> 
> I tested this kind of solution quite extensively for MPlayer, it should
> work on all systems that have inttypes.h - if this requirement is okay
> for ffmpeg, I think this should be applied.

  Can I go ahead and commit this?
  Has anyone tested it on more platforms?

  Alex (beastd)





More information about the ffmpeg-devel mailing list