[SCM] libav/experimental: Use correct t printf modifier for pointer differences.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:16:59 UTC 2013


The following commit has been merged in the experimental branch:
commit b2c26e2717f8df00d56c69ef7b1b0faf7e1a93cb
Author: Diego Biurrun <diego at biurrun.de>
Date:   Fri Mar 14 13:19:39 2008 +0000

    Use correct t printf modifier for pointer differences.
    
    Originally committed as revision 12442 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index c16adaf..5275357 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -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 */

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list