mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-15 19:40:07 +01:00
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -71,7 +71,7 @@ static int aea_read_header(AVFormatContext *s,
|
||||
url_fskip(s->pb, 1783);
|
||||
|
||||
|
||||
st->codec->codec_type = CODEC_TYPE_AUDIO;
|
||||
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
|
||||
st->codec->codec_id = CODEC_ID_ATRAC1;
|
||||
st->codec->sample_rate = 44100;
|
||||
st->codec->bit_rate = 292000;
|
||||
|
||||
Reference in New Issue
Block a user