[FFmpeg-cvslog] h263: improve hwaccel #ifdefs

Rémi Denis-Courmont git at videolan.org
Mon Mar 31 21:58:55 CEST 2014


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

h263: improve hwaccel #ifdefs

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

 libavcodec/h263dec.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 6c2f322..f6c79af 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -634,10 +634,10 @@ intrax8_decoded:
 }
 
 const enum AVPixelFormat ff_h263_hwaccel_pixfmt_list_420[] = {
-#if CONFIG_VAAPI
+#if CONFIG_H263_VAAPI_HWACCEL || CONFIG_MPEG4_VAAPI_HWACCEL
     AV_PIX_FMT_VAAPI_VLD,
 #endif
-#if CONFIG_VDPAU
+#if CONFIG_H263_VDPAU_HWACCEL || CONFIG_MPEG4_VDPAU_HWACCEL
     AV_PIX_FMT_VDPAU,
 #endif
     AV_PIX_FMT_YUV420P,



More information about the ffmpeg-cvslog mailing list