avcodec/h263dec: fix "incompatible pointer type" warning
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 3 May 2014 18:23:12 +0000 (20:23 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 3 May 2014 18:23:12 +0000 (20:23 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h263dec.c

index 270c2c4..523fca9 100644 (file)
@@ -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;
     }