X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=blobdiff_plain;f=libavcodec%2Fvdpau_mpeg4.c;h=f328e484ae99c8589d26244829aee88b9b69dfd9;hp=17205fe3176fd87f8e05725a62e2e7775033766d;hb=7948a51b5c3d08e1a1173442a7ff72b220def303;hpb=82bb3048013201c0095d2853d4623633d912252f diff --git a/libavcodec/vdpau_mpeg4.c b/libavcodec/vdpau_mpeg4.c index 17205fe317..f328e484ae 100644 --- a/libavcodec/vdpau_mpeg4.c +++ b/libavcodec/vdpau_mpeg4.c @@ -77,8 +77,8 @@ static int vdpau_mpeg4_start_frame(AVCodecContext *avctx, info->non_intra_quantizer_matrix[i] = s->inter_matrix[i]; } - ff_vdpau_common_start_frame(pic, buffer, size); - return ff_vdpau_add_buffer(pic, buffer, size); + ff_vdpau_common_start_frame(pic_ctx, buffer, size); + return ff_vdpau_add_buffer(pic_ctx, buffer, size); } static int vdpau_mpeg4_decode_slice(av_unused AVCodecContext *avctx,