[FFmpeg-cvslog] avcodec/speedhq: Fix warning about " initialization from incompatible pointer type"

Michael Niedermayer git at videolan.org
Thu Jan 19 21:19:10 EET 2017


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Jan 19 19:15:42 2017 +0100| [1df3d636d46b675d0b176ceddc4530f7d29c5aa1] | committer: Michael Niedermayer

avcodec/speedhq: Fix warning about "initialization from incompatible pointer type"

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavcodec/speedhq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/speedhq.c b/libavcodec/speedhq.c
index 7ccb2c3..385f779 100644
--- a/libavcodec/speedhq.c
+++ b/libavcodec/speedhq.c
@@ -135,7 +135,7 @@ static const uint8_t speedhq_run[121] = {
 static RLTable ff_rl_speedhq = {
     121,
     121,
-    speedhq_vlc,
+    (const uint16_t (*)[])speedhq_vlc,
     speedhq_run,
     speedhq_level,
 };



More information about the ffmpeg-cvslog mailing list