]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vaapi_mpeg.c
avcodec/motionpixels: use av_mallocz_array()
[ffmpeg] / libavcodec / vaapi_mpeg.c
index 0b9958d6f4b1ac59f73db636757226be27dd73c4..63879e5fe43083839f895511057304f0304a1cc4 100644 (file)
@@ -35,7 +35,7 @@ int ff_vaapi_mpeg_end_frame(AVCodecContext *avctx)
         goto finish;
 
     ret = ff_vaapi_render_picture(vactx,
-                                  ff_vaapi_get_surface_id(&s->current_picture_ptr->f));
+                                  ff_vaapi_get_surface_id(s->current_picture_ptr->f));
     if (ret < 0)
         goto finish;