Commit e137c66e authored by cehoyos's avatar cehoyos

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16630 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e19bf7a4
......@@ -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)) {
......
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