comparison wmadec.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 d5673aafc6bf
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
940 } 940 }
941 941
942 AVCodec wmav1_decoder = 942 AVCodec wmav1_decoder =
943 { 943 {
944 "wmav1", 944 "wmav1",
945 CODEC_TYPE_AUDIO, 945 AVMEDIA_TYPE_AUDIO,
946 CODEC_ID_WMAV1, 946 CODEC_ID_WMAV1,
947 sizeof(WMACodecContext), 947 sizeof(WMACodecContext),
948 wma_decode_init, 948 wma_decode_init,
949 NULL, 949 NULL,
950 ff_wma_end, 950 ff_wma_end,
954 }; 954 };
955 955
956 AVCodec wmav2_decoder = 956 AVCodec wmav2_decoder =
957 { 957 {
958 "wmav2", 958 "wmav2",
959 CODEC_TYPE_AUDIO, 959 AVMEDIA_TYPE_AUDIO,
960 CODEC_ID_WMAV2, 960 CODEC_ID_WMAV2,
961 sizeof(WMACodecContext), 961 sizeof(WMACodecContext),
962 wma_decode_init, 962 wma_decode_init,
963 NULL, 963 NULL,
964 ff_wma_end, 964 ff_wma_end,