Mercurial > libavcodec.hg
comparison cljr.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 | 0dce4fe6e6f3 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
135 } | 135 } |
136 #endif | 136 #endif |
137 | 137 |
138 AVCodec cljr_decoder = { | 138 AVCodec cljr_decoder = { |
139 "cljr", | 139 "cljr", |
140 CODEC_TYPE_VIDEO, | 140 AVMEDIA_TYPE_VIDEO, |
141 CODEC_ID_CLJR, | 141 CODEC_ID_CLJR, |
142 sizeof(CLJRContext), | 142 sizeof(CLJRContext), |
143 decode_init, | 143 decode_init, |
144 NULL, | 144 NULL, |
145 NULL, | 145 NULL, |
149 }; | 149 }; |
150 | 150 |
151 #if CONFIG_CLJR_ENCODER | 151 #if CONFIG_CLJR_ENCODER |
152 AVCodec cljr_encoder = { | 152 AVCodec cljr_encoder = { |
153 "cljr", | 153 "cljr", |
154 CODEC_TYPE_VIDEO, | 154 AVMEDIA_TYPE_VIDEO, |
155 CODEC_ID_CLJR, | 155 CODEC_ID_CLJR, |
156 sizeof(CLJRContext), | 156 sizeof(CLJRContext), |
157 encode_init, | 157 encode_init, |
158 encode_frame, | 158 encode_frame, |
159 //encode_end, | 159 //encode_end, |