Mercurial > libavcodec.hg
comparison pgssubdec.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 | e85fbfe709d8 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
452 return buf_size; | 452 return buf_size; |
453 } | 453 } |
454 | 454 |
455 AVCodec pgssub_decoder = { | 455 AVCodec pgssub_decoder = { |
456 "pgssub", | 456 "pgssub", |
457 CODEC_TYPE_SUBTITLE, | 457 AVMEDIA_TYPE_SUBTITLE, |
458 CODEC_ID_HDMV_PGS_SUBTITLE, | 458 CODEC_ID_HDMV_PGS_SUBTITLE, |
459 sizeof(PGSSubContext), | 459 sizeof(PGSSubContext), |
460 init_decoder, | 460 init_decoder, |
461 NULL, | 461 NULL, |
462 close_decoder, | 462 close_decoder, |