[FFmpeg-cvslog] intrax8: Adjust printf conversion specifier for sizeof expression

Diego Biurrun git at videolan.org
Sun Apr 17 20:14:20 CEST 2016


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Mar 22 21:51:47 2016 +0100| [6f5ff559dbd01fa4ea96bc0a1d2e0c21f2db8d13] | committer: Vittorio Giovara

intrax8: Adjust printf conversion specifier for sizeof expression

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6f5ff559dbd01fa4ea96bc0a1d2e0c21f2db8d13
---

 libavcodec/intrax8.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/intrax8.c b/libavcodec/intrax8.c
index b951684..3e62716 100644
--- a/libavcodec/intrax8.c
+++ b/libavcodec/intrax8.c
@@ -115,7 +115,8 @@ static av_cold void x8_vlc_init(void){
         init_or_vlc( j_orient_vlc[1][i], x8_orient_lowquant_table [i][0]);
     }
     if (offset != sizeof(table)/sizeof(VLC_TYPE)/2)
-        av_log(NULL, AV_LOG_ERROR, "table size %i does not match needed %i\n", (int)(sizeof(table)/sizeof(VLC_TYPE)/2), offset);
+        av_log(NULL, AV_LOG_ERROR, "table size %zd does not match needed %i\n",
+               sizeof(table) / sizeof(VLC_TYPE) / 2, offset);
 }
 #undef init_or_vlc
 



More information about the ffmpeg-cvslog mailing list