[FFmpeg-cvslog] r12757 - trunk/libavformat/mov.c

Måns Rullgård mans
Sat Apr 5 14:53:09 CEST 2008


bcoudurier <subversion at mplayerhq.hu> writes:

> Author: bcoudurier
> Date: Sat Apr  5 14:47:56 2008
> New Revision: 12757
>
> Log:
> remove cast
>
> Modified:
>    trunk/libavformat/mov.c
>
> Modified: trunk/libavformat/mov.c
> ==============================================================================
> --- trunk/libavformat/mov.c	(original)
> +++ trunk/libavformat/mov.c	Sat Apr  5 14:47:56 2008
> @@ -1717,7 +1717,7 @@ static int mov_read_header(AVFormatConte
>          av_log(s, AV_LOG_ERROR, "moov atom not found\n");
>          return -1;
>      }
> -    dprintf(mov->fc, "on_parse_exit_offset=%d\n", (int) url_ftell(pb));
> +    dprintf(mov->fc, "on_parse_exit_offset=%lld\n", url_ftell(pb));

This is wrong.  url_ftell() returns int64_t, so you must use PRId64 in
the format string.

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




More information about the ffmpeg-cvslog mailing list