[FFmpeg-cvslog] vc1dec: improve hwaccel #ifdefs

Rémi Denis-Courmont git at videolan.org
Mon Mar 31 22:05:18 CEST 2014


ffmpeg | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 25 20:19:58 2014 +0000| [654c7446a806c5dc8ec7800874c49a4c1ba2ce80] | committer: Vittorio Giovara

vc1dec: improve hwaccel #ifdefs

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=654c7446a806c5dc8ec7800874c49a4c1ba2ce80
---

 libavcodec/vc1dec.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index f8340ee..e6bbe58 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -6122,13 +6122,13 @@ static const AVProfile profiles[] = {
 };
 
 static const enum AVPixelFormat vc1_hwaccel_pixfmt_list_420[] = {
-#if CONFIG_DXVA2
+#if CONFIG_VC1_DXVA2_HWACCEL
     AV_PIX_FMT_DXVA2_VLD,
 #endif
-#if CONFIG_VAAPI
+#if CONFIG_VC1_VAAPI_HWACCEL
     AV_PIX_FMT_VAAPI_VLD,
 #endif
-#if CONFIG_VDPAU
+#if CONFIG_VC1_VDPAU_HWACCEL
     AV_PIX_FMT_VDPAU,
 #endif
     AV_PIX_FMT_YUV420P,



More information about the ffmpeg-cvslog mailing list