diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-01-16 02:50:20 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-01-16 02:50:20 +0000 |
commit | e7edb2ea93360a6a10c188724cd7489068add26c (patch) | |
tree | 9405740568e57870b9c77bbd5c8bf1cc3a007d83 /libavcodec/mpeg12.c | |
parent | 76bd1cd8e176f3acb61f3b7037dcc1531ce35649 (diff) | |
download | ffmpeg-e7edb2ea93360a6a10c188724cd7489068add26c.tar.gz |
12l: Fix compilation with --disable-vdpau.
Originally committed as revision 16630 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 9f982194b0..8d97103ca5 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -2313,7 +2313,7 @@ static int decode_chunks(AVCodecContext *avctx, s2->error_count += s2->thread_context[i]->error_count; } - if (avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU) + if (CONFIG_MPEG_VDPAU_DECODER && avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU) ff_vdpau_mpeg_picture_complete(s2, buf, buf_size, s->slice_count); if (slice_end(avctx, picture)) { |