summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-04-04 20:11:19 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-04-05 18:23:10 +0200
commit735c4f0b8460a943623b7b1a83f55299d8c60523 (patch)
treedd448e4828d2a2d37c634dd9bdcd7dbe723c8760 /libavcodec
parent6e075dcaf85d9cd32fffe160d3090af47982cf93 (diff)
Use CONFIG_VDPAU as condition for using ff_vdpau_mpeg_picture_complete.
CONFIG_VDPAU is the condition on which ff_vdpau_mpeg_picture_complete is compiled in, so it is more appropriate, particularly since the separate VDPAU decoder should be removed in the longer term.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
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)) {