Mercurial > libavcodec.hg
comparison wmaenc.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 | 964d01b50f17 |
children | dde20597f15e |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
384 } | 384 } |
385 | 385 |
386 AVCodec wmav1_encoder = | 386 AVCodec wmav1_encoder = |
387 { | 387 { |
388 "wmav1", | 388 "wmav1", |
389 CODEC_TYPE_AUDIO, | 389 AVMEDIA_TYPE_AUDIO, |
390 CODEC_ID_WMAV1, | 390 CODEC_ID_WMAV1, |
391 sizeof(WMACodecContext), | 391 sizeof(WMACodecContext), |
392 encode_init, | 392 encode_init, |
393 encode_superframe, | 393 encode_superframe, |
394 ff_wma_end, | 394 ff_wma_end, |
397 }; | 397 }; |
398 | 398 |
399 AVCodec wmav2_encoder = | 399 AVCodec wmav2_encoder = |
400 { | 400 { |
401 "wmav2", | 401 "wmav2", |
402 CODEC_TYPE_AUDIO, | 402 AVMEDIA_TYPE_AUDIO, |
403 CODEC_ID_WMAV2, | 403 CODEC_ID_WMAV2, |
404 sizeof(WMACodecContext), | 404 sizeof(WMACodecContext), |
405 encode_init, | 405 encode_init, |
406 encode_superframe, | 406 encode_superframe, |
407 ff_wma_end, | 407 ff_wma_end, |