Mercurial > libavcodec.hg
diff 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 | 44c5c540722c |
children | 66f3d2ff88b7 |
line wrap: on
line diff
--- a/h264.c Tue Mar 30 22:09:14 2010 +0000 +++ b/h264.c Tue Mar 30 23:30:55 2010 +0000 @@ -3148,7 +3148,7 @@ AVCodec h264_decoder = { "h264", - CODEC_TYPE_VIDEO, + AVMEDIA_TYPE_VIDEO, CODEC_ID_H264, sizeof(H264Context), ff_h264_decode_init, @@ -3164,7 +3164,7 @@ #if CONFIG_H264_VDPAU_DECODER AVCodec h264_vdpau_decoder = { "h264_vdpau", - CODEC_TYPE_VIDEO, + AVMEDIA_TYPE_VIDEO, CODEC_ID_H264, sizeof(H264Context), ff_h264_decode_init,