Mercurial > libavcodec.hg
comparison roqaudioenc.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 | 421c9441c11e |
children | dde20597f15e |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
153 return 0; | 153 return 0; |
154 } | 154 } |
155 | 155 |
156 AVCodec roq_dpcm_encoder = { | 156 AVCodec roq_dpcm_encoder = { |
157 "roq_dpcm", | 157 "roq_dpcm", |
158 CODEC_TYPE_AUDIO, | 158 AVMEDIA_TYPE_AUDIO, |
159 CODEC_ID_ROQ_DPCM, | 159 CODEC_ID_ROQ_DPCM, |
160 sizeof(ROQDPCMContext), | 160 sizeof(ROQDPCMContext), |
161 roq_dpcm_encode_init, | 161 roq_dpcm_encode_init, |
162 roq_dpcm_encode_frame, | 162 roq_dpcm_encode_frame, |
163 roq_dpcm_encode_close, | 163 roq_dpcm_encode_close, |