Mercurial > libavcodec.hg
diff dxva2_vc1.c @ 11560:8a4984c5cacc libavcodec
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.
author | stefano |
---|---|
date | Tue, 30 Mar 2010 23:30:55 +0000 |
parents | a6908ae0e0b5 |
children |
line wrap: on
line diff
--- a/dxva2_vc1.c Tue Mar 30 22:09:14 2010 +0000 +++ b/dxva2_vc1.c Tue Mar 30 23:30:55 2010 +0000 @@ -266,7 +266,7 @@ #if CONFIG_WMV3_DXVA2_HWACCEL AVHWAccel wmv3_dxva2_hwaccel = { .name = "wmv3_dxva2", - .type = CODEC_TYPE_VIDEO, + .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_WMV3, .pix_fmt = PIX_FMT_DXVA2_VLD, .capabilities = 0, @@ -279,7 +279,7 @@ AVHWAccel vc1_dxva2_hwaccel = { .name = "vc1_dxva2", - .type = CODEC_TYPE_VIDEO, + .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_VC1, .pix_fmt = PIX_FMT_DXVA2_VLD, .capabilities = 0,