diff options
Diffstat (limited to 'libavdevice/oss_audio.c')
-rw-r--r-- | libavdevice/oss_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/oss_audio.c b/libavdevice/oss_audio.c index 8e4dbf2fc4..d382c0376e 100644 --- a/libavdevice/oss_audio.c +++ b/libavdevice/oss_audio.c @@ -232,7 +232,7 @@ static int audio_read_header(AVFormatContext *s1, AVFormatParameters *ap) } /* 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; |