[FFmpeg-cvslog] svq1enc: fix ptr type mismatch warning

Michael Niedermayer git at videolan.org
Fri Mar 30 20:39:01 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Mar 30 20:23:13 2012 +0200| [a627c1a146bcd8763605bfe6f603b90ece39d7db] | committer: Michael Niedermayer

svq1enc: fix ptr type mismatch warning

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/svq1enc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c
index d372af9..0a6ef7a 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)



More information about the ffmpeg-cvslog mailing list