[FFmpeg-cvslog] avcodec/h263dec: fix "incompatible pointer type" warning

Michael Niedermayer git at videolan.org
Sat May 3 22:02:46 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat May  3 20:23:12 2014 +0200| [56cc178485263684ac26e8dc70af6894214459c9] | committer: Michael Niedermayer

avcodec/h263dec: fix "incompatible pointer type" warning

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

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

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

diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 270c2c4..523fca9 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -569,7 +569,7 @@ retry:
         ff_thread_finish_setup(avctx);
 
     if (CONFIG_MPEG4_VDPAU_DECODER && (s->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU)) {
-        ff_vdpau_mpeg4_decode_picture(s, s->gb.buffer, s->gb.buffer_end - s->gb.buffer);
+        ff_vdpau_mpeg4_decode_picture(avctx->priv_data, s->gb.buffer, s->gb.buffer_end - s->gb.buffer);
         goto frame_end;
     }
 



More information about the ffmpeg-cvslog mailing list