Mercurial > libavcodec.hg
comparison shorten.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 |
---|---|
525 s->bitstream_index= 0; | 525 s->bitstream_index= 0; |
526 } | 526 } |
527 | 527 |
528 AVCodec shorten_decoder = { | 528 AVCodec shorten_decoder = { |
529 "shorten", | 529 "shorten", |
530 CODEC_TYPE_AUDIO, | 530 AVMEDIA_TYPE_AUDIO, |
531 CODEC_ID_SHORTEN, | 531 CODEC_ID_SHORTEN, |
532 sizeof(ShortenContext), | 532 sizeof(ShortenContext), |
533 shorten_decode_init, | 533 shorten_decode_init, |
534 NULL, | 534 NULL, |
535 shorten_decode_close, | 535 shorten_decode_close, |