aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi@remlab.net>2014-03-25 20:19:57 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-03-31 17:52:38 +0200
commit33259118155764ce27a3433894659dda1d148b5f (patch)
tree372823af372c63b1e11e918448190bbe0ffb7b46
parentc042cbc3a68d09a20cfd75fb4a4eff0534253081 (diff)
downloadffmpeg-33259118155764ce27a3433894659dda1d148b5f.tar.gz
h263: improve hwaccel #ifdefs
-rw-r--r--libavcodec/h263dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 6c2f322bab..f6c79af189 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,