Mercurial > libavcodec.hg
comparison dvbsub.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 | 04423b2f6e0b |
children | d5705b52b76e |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
402 return ret; | 402 return ret; |
403 } | 403 } |
404 | 404 |
405 AVCodec dvbsub_encoder = { | 405 AVCodec dvbsub_encoder = { |
406 "dvbsub", | 406 "dvbsub", |
407 CODEC_TYPE_SUBTITLE, | 407 AVMEDIA_TYPE_SUBTITLE, |
408 CODEC_ID_DVB_SUBTITLE, | 408 CODEC_ID_DVB_SUBTITLE, |
409 sizeof(DVBSubtitleContext), | 409 sizeof(DVBSubtitleContext), |
410 NULL, | 410 NULL, |
411 dvbsub_encode, | 411 dvbsub_encode, |
412 .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"), | 412 .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"), |