summaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-04-02 00:50:39 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-04-02 00:50:39 +0200
commitecf94986c8ba7c9fb4f674ee93e3be5f73d8ccdd (patch)
tree568759ea5a32af0512e60123566cc9531248e752 /libavcodec/mpeg12.c
parent2a0bd2bfc957abe3fab97cc27e6d997099082841 (diff)
downloadffmpeg-streaming-ecf94986c8ba7c9fb4f674ee93e3be5f73d8ccdd.zip
ffmpeg-streaming-ecf94986c8ba7c9fb4f674ee93e3be5f73d8ccdd.tar.gz
Fix compilation with --disable-vdpau
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
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)) {
OpenPOWER on IntegriCloud