Mercurial > libavformat.hg
diff qcp.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 | cd7e342cfaf7 |
children | 178de7695c6c |
line wrap: on
line diff
--- a/qcp.c Tue Mar 30 15:50:57 2010 +0000 +++ b/qcp.c Tue Mar 30 23:30:55 2010 +0000 @@ -95,7 +95,7 @@ s->file_size = get_le32(pb) + 8; url_fskip(pb, 8 + 4 + 1 + 1); // "QLCMfmt " + chunk-size + major-version + minor-version - st->codec->codec_type = CODEC_TYPE_AUDIO; + st->codec->codec_type = AVMEDIA_TYPE_AUDIO; st->codec->channels = 1; get_buffer(pb, buf, 16); if (is_qcelp_13k_guid(buf)) {