comparison dvbsubdec.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 8ac9bc10b485
children c591e96c03ab
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
1411 } 1411 }
1412 1412
1413 1413
1414 AVCodec dvbsub_decoder = { 1414 AVCodec dvbsub_decoder = {
1415 "dvbsub", 1415 "dvbsub",
1416 CODEC_TYPE_SUBTITLE, 1416 AVMEDIA_TYPE_SUBTITLE,
1417 CODEC_ID_DVB_SUBTITLE, 1417 CODEC_ID_DVB_SUBTITLE,
1418 sizeof(DVBSubContext), 1418 sizeof(DVBSubContext),
1419 dvbsub_init_decoder, 1419 dvbsub_init_decoder,
1420 NULL, 1420 NULL,
1421 dvbsub_close_decoder, 1421 dvbsub_close_decoder,