summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-04-02 13:33:51 +0000
committerMartin Storsjö <martin@martin.st>2010-04-02 13:33:51 +0000
commitfea9bb2f316ce5f9cb51d5acf97c075b817af682 (patch)
treea812cfa9e7717199915040fe0a05ae38bbed39fb /libavdevice
parenta69220cce0aea2d5e017cb1d15b894f7e9cd3e1b (diff)
downloadffmpeg-fea9bb2f316ce5f9cb51d5acf97c075b817af682.tar.gz
Replace the last occurrance of CODEC_TYPE_ with AVMEDIA_TYPE_
Originally committed as revision 22776 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/beosaudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/beosaudio.cpp b/libavdevice/beosaudio.cpp
index c22cb9bcb4..9f32571b3f 100644
--- a/libavdevice/beosaudio.cpp
+++ b/libavdevice/beosaudio.cpp
@@ -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;