1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Replace the last occurrance of CODEC_TYPE_ with AVMEDIA_TYPE_

Originally committed as revision 22776 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Martin Storsjö 2010-04-02 13:33:51 +00:00
parent a69220cce0
commit fea9bb2f31

View File

@ -368,7 +368,7 @@ static int audio_read_header(AVFormatContext *s1, AVFormatParameters *ap)
return AVERROR(EIO);
}
/* take real parameters */
st->codec->codec_type = CODEC_TYPE_AUDIO;
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
st->codec->codec_id = s->codec_id;
st->codec->sample_rate = s->sample_rate;
st->codec->channels = s->channels;