aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-03-22 21:51:47 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-03-22 17:12:20 -0400
commit6f5ff559dbd01fa4ea96bc0a1d2e0c21f2db8d13 (patch)
tree661f3841eacf17bbb02af84bb587551be0539c4b
parent42244ce07a1f4f5108ae86d50fe72db785d483ed (diff)
downloadffmpeg-6f5ff559dbd01fa4ea96bc0a1d2e0c21f2db8d13.tar.gz
intrax8: Adjust printf conversion specifier for sizeof expression
-rw-r--r--libavcodec/intrax8.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/intrax8.c b/libavcodec/intrax8.c
index b951684764..3e627161aa 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