From ecf94986c8ba7c9fb4f674ee93e3be5f73d8ccdd Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 2 Apr 2011 00:50:39 +0200 Subject: Fix compilation with --disable-vdpau --- libavcodec/mpeg12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/mpeg12.c') diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index bfe0d9e..774ac83 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -2331,7 +2331,7 @@ static int decode_chunks(AVCodecContext *avctx, s2->error_count += s2->thread_context[i]->error_count; } - if (uses_vdpau(avctx)) + if (CONFIG_MPEG_VDPAU_DECODER && uses_vdpau(avctx)) ff_vdpau_mpeg_picture_complete(s2, buf, buf_size, s->slice_count); if (slice_end(avctx, picture)) { -- cgit v1.1