Mercurial > libavcodec.hg
diff dxva2_h264.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 | 4b64693d115d |
children | f85c4e46272e |
line wrap: on
line diff
--- a/dxva2_h264.c Tue Mar 30 22:09:14 2010 +0000 +++ b/dxva2_h264.c Tue Mar 30 23:30:55 2010 +0000 @@ -425,7 +425,7 @@ AVHWAccel h264_dxva2_hwaccel = { .name = "h264_dxva2", - .type = CODEC_TYPE_VIDEO, + .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_H264, .pix_fmt = PIX_FMT_DXVA2_VLD, .capabilities = 0,