h263: improve hwaccel #ifdefs
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 25 Mar 2014 20:19:57 +0000 (20:19 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 31 Mar 2014 15:52:38 +0000 (17:52 +0200)
libavcodec/h263dec.c

index 6c2f322..f6c79af 100644 (file)
@@ -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,