]> git.sesse.net Git - ffmpeg/commitdiff
vaapi: fix argument for ff_vaapi_common_end_frame call
authorJanne Grunau <janne-libav@jannau.net>
Thu, 14 Mar 2013 14:12:30 +0000 (15:12 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Thu, 14 Mar 2013 14:16:08 +0000 (15:16 +0100)
libavcodec/vaapi.c

index 9c07c8d825777d63d1b5021628e2676e56e18908..0532daf9832a7d1dcb87ca2a4348800a28ad92d6 100644 (file)
@@ -212,7 +212,7 @@ int ff_vaapi_mpeg_end_frame(AVCodecContext *avctx)
     ff_mpeg_draw_horiz_band(s, 0, s->avctx->height);
 
 finish:
-    ff_vaapi_common_end_frame(avctx->priv_data);
+    ff_vaapi_common_end_frame(avctx);
     return ret;
 }