comparison 8svx.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 54bc8a2727b0
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
92 return 0; 92 return 0;
93 } 93 }
94 94
95 AVCodec eightsvx_fib_decoder = { 95 AVCodec eightsvx_fib_decoder = {
96 .name = "8svx_fib", 96 .name = "8svx_fib",
97 .type = CODEC_TYPE_AUDIO, 97 .type = AVMEDIA_TYPE_AUDIO,
98 .id = CODEC_ID_8SVX_FIB, 98 .id = CODEC_ID_8SVX_FIB,
99 .priv_data_size = sizeof (EightSvxContext), 99 .priv_data_size = sizeof (EightSvxContext),
100 .init = eightsvx_decode_init, 100 .init = eightsvx_decode_init,
101 .decode = eightsvx_decode_frame, 101 .decode = eightsvx_decode_frame,
102 .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"), 102 .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"),
103 }; 103 };
104 104
105 AVCodec eightsvx_exp_decoder = { 105 AVCodec eightsvx_exp_decoder = {
106 .name = "8svx_exp", 106 .name = "8svx_exp",
107 .type = CODEC_TYPE_AUDIO, 107 .type = AVMEDIA_TYPE_AUDIO,
108 .id = CODEC_ID_8SVX_EXP, 108 .id = CODEC_ID_8SVX_EXP,
109 .priv_data_size = sizeof (EightSvxContext), 109 .priv_data_size = sizeof (EightSvxContext),
110 .init = eightsvx_decode_init, 110 .init = eightsvx_decode_init,
111 .decode = eightsvx_decode_frame, 111 .decode = eightsvx_decode_frame,
112 .long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"), 112 .long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"),