[FFmpeg-cvslog] r16630 - trunk/libavcodec/mpeg12.c

cehoyos subversion
Fri Jan 16 03:50:21 CET 2009


Author: cehoyos
Date: Fri Jan 16 03:50:20 2009
New Revision: 16630

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

Modified:
   trunk/libavcodec/mpeg12.c

Modified: trunk/libavcodec/mpeg12.c
==============================================================================
--- trunk/libavcodec/mpeg12.c	Fri Jan 16 03:20:24 2009	(r16629)
+++ trunk/libavcodec/mpeg12.c	Fri Jan 16 03:50:20 2009	(r16630)
@@ -2313,7 +2313,7 @@ static int decode_chunks(AVCodecContext 
                         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)) {




More information about the ffmpeg-cvslog mailing list