[Ffmpeg-devel] [PATCH] fix compile if DEBUG_SEEK enable in mpeg.c

Måns Rullgård mans
Tue Mar 6 10:19:43 CET 2007


Limin Wang <lance.lmwang at gmail.com> writes:

> Hi,
>
> The patch try to fix compile issue after DEBUG_SEEK macro
> in mpeg.c is enable. 
>
> Thanks,
> Limin
>
> Index: libavformat/mpeg.c
> ===================================================================
> --- libavformat/mpeg.c	(revision 8268)
> +++ libavformat/mpeg.c	(working copy)
> @@ -1738,7 +1738,7 @@
>
>      pos = *ppos;
>  #ifdef DEBUG_SEEK
> -    printf("read_dts: pos=0x%"PRIx64" next=%d -> ", pos, find_next);
> +    printf("read_dts: pos=0x%"PRIx64"", pos);
>  #endif

That should be using av_log().

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list