diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index dde851002b..4a17299f86 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -2338,7 +2338,7 @@ static int decode_chunks(AVCodecContext *avctx, s2->error_count += s2->thread_context[i]->error_count; } - if (CONFIG_MPEG_VDPAU_DECODER && uses_vdpau(avctx)) + if (CONFIG_VDPAU && uses_vdpau(avctx)) ff_vdpau_mpeg_picture_complete(s2, buf, buf_size, s->slice_count); if (slice_end(avctx, picture)) {