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
1 changed files with 1 additions and 1 deletions

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;