diff options
author | Måns Rullgård <mans@mansr.com> | 2007-06-16 14:52:05 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-06-16 14:52:05 +0000 |
commit | 706da4af320bc212b537744460a8ded989b51256 (patch) | |
tree | 3748510a4628b1d7d45e6a22433f52178be37b00 /libavcodec/mjpegdec.c | |
parent | 8657d5e5492c4521177fb719e18acb58eef06e49 (diff) | |
download | ffmpeg-706da4af320bc212b537744460a8ded989b51256.tar.gz |
fix some printf format specifiers
Originally committed as revision 9334 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mjpegdec.c')
-rw-r--r-- | libavcodec/mjpegdec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 9638604806..81e3cb44c0 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -1099,7 +1099,7 @@ int ff_mjpeg_decode_frame(AVCodecContext *avctx, if (start_code < 0) { goto the_end; } else { - av_log(avctx, AV_LOG_DEBUG, "marker=%x avail_size_in_buf=%d\n", start_code, buf_end - buf_ptr); + av_log(avctx, AV_LOG_DEBUG, "marker=%x avail_size_in_buf=%td\n", start_code, buf_end - buf_ptr); if ((buf_end - buf_ptr) > s->buffer_size) { @@ -1136,7 +1136,7 @@ int ff_mjpeg_decode_frame(AVCodecContext *avctx, } init_get_bits(&s->gb, s->buffer, (dst - s->buffer)*8); - av_log(avctx, AV_LOG_DEBUG, "escaping removed %d bytes\n", + av_log(avctx, AV_LOG_DEBUG, "escaping removed %td bytes\n", (buf_end - buf_ptr) - (dst - s->buffer)); } else if(start_code == SOS && s->ls){ @@ -1310,7 +1310,7 @@ not_the_end: } } the_end: - av_log(avctx, AV_LOG_DEBUG, "mjpeg decode frame unused %d bytes\n", buf_end - buf_ptr); + av_log(avctx, AV_LOG_DEBUG, "mjpeg decode frame unused %td bytes\n", buf_end - buf_ptr); // return buf_end - buf_ptr; return buf_ptr - buf; } |