[Ffmpeg-devel] VP3 decoding issue
Reimar Döffinger
Reimar.Doeffinger
Fri Nov 11 20:18:31 CET 2005
Hi,
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.
Greetings,
Reimar D?ffinger
More information about the ffmpeg-devel
mailing list