Commit e7edb2ea authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

12l: Fix compilation with --disable-vdpau.

Originally committed as revision 16630 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 76bd1cd8
...@@ -2313,7 +2313,7 @@ static int decode_chunks(AVCodecContext *avctx, ...@@ -2313,7 +2313,7 @@ static int decode_chunks(AVCodecContext *avctx,
s2->error_count += s2->thread_context[i]->error_count; 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); ff_vdpau_mpeg_picture_complete(s2, buf, buf_size, s->slice_count);
if (slice_end(avctx, picture)) { if (slice_end(avctx, picture)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment