aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/svq1enc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-30 20:23:13 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-03-30 20:23:13 +0200
commita627c1a146bcd8763605bfe6f603b90ece39d7db (patch)
tree5ba3350b071d27f3e82defef3941471813d9fc97 /libavcodec/svq1enc.c
parente2094bd03bcbfe157288b2466d12a5d817cedc99 (diff)
downloadffmpeg-a627c1a146bcd8763605bfe6f603b90ece39d7db.tar.gz
svq1enc: fix ptr type mismatch warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/svq1enc.c')
-rw-r--r--libavcodec/svq1enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c
index d372af92eb..0a6ef7a2e3 100644
--- a/libavcodec/svq1enc.c
+++ b/libavcodec/svq1enc.c
@@ -95,7 +95,7 @@ static void svq1_write_header(SVQ1Context *s, int frame_type)
/* output 5 unknown bits (2 + 2 + 1) */
put_bits(&s->pb, 5, 2); /* 2 needed by quicktime decoder */
- i= ff_match_2uint16(ff_svq1_frame_size_table, FF_ARRAY_ELEMS(ff_svq1_frame_size_table), s->frame_width, s->frame_height);
+ i= ff_match_2uint16((void*)ff_svq1_frame_size_table, FF_ARRAY_ELEMS(ff_svq1_frame_size_table), s->frame_width, s->frame_height);
put_bits(&s->pb, 3, i);
if (i == 7)