Mercurial > libavcodec.hg
changeset 8602:d90dec69b2a2 libavcodec
12l: Fix compilation with --disable-vdpau.
author | cehoyos |
---|---|
date | Fri, 16 Jan 2009 02:50:20 +0000 |
parents | 8b80f8285b1b |
children | 555c2ab21d84 |
files | mpeg12.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mpeg12.c Fri Jan 16 02:14:07 2009 +0000 +++ b/mpeg12.c Fri Jan 16 02:50:20 2009 +0000 @@ -2313,7 +2313,7 @@ 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)) {