comparison 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
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
3146 } 3146 }
3147 3147
3148 3148
3149 AVCodec h264_decoder = { 3149 AVCodec h264_decoder = {
3150 "h264", 3150 "h264",
3151 CODEC_TYPE_VIDEO, 3151 AVMEDIA_TYPE_VIDEO,
3152 CODEC_ID_H264, 3152 CODEC_ID_H264,
3153 sizeof(H264Context), 3153 sizeof(H264Context),
3154 ff_h264_decode_init, 3154 ff_h264_decode_init,
3155 NULL, 3155 NULL,
3156 ff_h264_decode_end, 3156 ff_h264_decode_end,
3162 }; 3162 };
3163 3163
3164 #if CONFIG_H264_VDPAU_DECODER 3164 #if CONFIG_H264_VDPAU_DECODER
3165 AVCodec h264_vdpau_decoder = { 3165 AVCodec h264_vdpau_decoder = {
3166 "h264_vdpau", 3166 "h264_vdpau",
3167 CODEC_TYPE_VIDEO, 3167 AVMEDIA_TYPE_VIDEO,
3168 CODEC_ID_H264, 3168 CODEC_ID_H264,
3169 sizeof(H264Context), 3169 sizeof(H264Context),
3170 ff_h264_decode_init, 3170 ff_h264_decode_init,
3171 NULL, 3171 NULL,
3172 ff_h264_decode_end, 3172 ff_h264_decode_end,