Mercurial > libavformat.hg
diff cdg.c @ 5910:536e5527c1e0 libavformat
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 | ea579ec43456 |
children |
line wrap: on
line diff
--- a/cdg.c Tue Mar 30 15:50:57 2010 +0000 +++ b/cdg.c Tue Mar 30 23:30:55 2010 +0000 @@ -32,7 +32,7 @@ if (!vst) return AVERROR(ENOMEM); - vst->codec->codec_type = CODEC_TYPE_VIDEO; + vst->codec->codec_type = AVMEDIA_TYPE_VIDEO; vst->codec->codec_id = CODEC_ID_CDGRAPHICS; /// 75 sectors/sec * 4 packets/sector = 300 packets/sec