Mercurial > libavcodec.hg
comparison vcr1.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 | bc62e2826782 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
176 } | 176 } |
177 #endif | 177 #endif |
178 | 178 |
179 AVCodec vcr1_decoder = { | 179 AVCodec vcr1_decoder = { |
180 "vcr1", | 180 "vcr1", |
181 CODEC_TYPE_VIDEO, | 181 AVMEDIA_TYPE_VIDEO, |
182 CODEC_ID_VCR1, | 182 CODEC_ID_VCR1, |
183 sizeof(VCR1Context), | 183 sizeof(VCR1Context), |
184 decode_init, | 184 decode_init, |
185 NULL, | 185 NULL, |
186 decode_end, | 186 decode_end, |
190 }; | 190 }; |
191 | 191 |
192 #if CONFIG_VCR1_ENCODER | 192 #if CONFIG_VCR1_ENCODER |
193 AVCodec vcr1_encoder = { | 193 AVCodec vcr1_encoder = { |
194 "vcr1", | 194 "vcr1", |
195 CODEC_TYPE_VIDEO, | 195 AVMEDIA_TYPE_VIDEO, |
196 CODEC_ID_VCR1, | 196 CODEC_ID_VCR1, |
197 sizeof(VCR1Context), | 197 sizeof(VCR1Context), |
198 encode_init, | 198 encode_init, |
199 encode_frame, | 199 encode_frame, |
200 //encode_end, | 200 //encode_end, |