OSDN Git Service

Use correct t printf modifier for pointer differences.
authorDiego Biurrun <diego@biurrun.de>
Fri, 14 Mar 2008 13:19:39 +0000 (13:19 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 14 Mar 2008 13:19:39 +0000 (13:19 +0000)
Originally committed as revision 12442 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpeg12.c

index c16adaf..5275357 100644 (file)
@@ -2310,7 +2310,7 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
         input_size = buf_end - buf_ptr;
 
         if(avctx->debug & FF_DEBUG_STARTCODE){
-            av_log(avctx, AV_LOG_DEBUG, "%3X at %zd left %d\n", start_code, buf_ptr-buf, input_size);
+            av_log(avctx, AV_LOG_DEBUG, "%3X at %td left %d\n", start_code, buf_ptr-buf, input_size);
         }
 
         /* prepare data for next start code */