Browse Source

vc1dec: improve hwaccel #ifdefs

tags/n2.3
Rémi Denis-Courmont Vittorio Giovara 11 years ago
parent
commit
654c7446a8
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavcodec/vc1dec.c

+ 3
- 3
libavcodec/vc1dec.c View File

@@ -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,


Loading…
Cancel
Save