Mercurial > libavformat.hg
diff oggparseskeleton.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 | 79084b40586c |
children |
line wrap: on
line diff
--- a/oggparseskeleton.c Tue Mar 30 15:50:57 2010 +0000 +++ b/oggparseskeleton.c Tue Mar 30 23:30:55 2010 +0000 @@ -33,7 +33,7 @@ int target_idx, start_time; strcpy(st->codec->codec_name, "skeleton"); - st->codec->codec_type = CODEC_TYPE_DATA; + st->codec->codec_type = AVMEDIA_TYPE_DATA; if (os->psize < 8) return -1;