summaryrefslogtreecommitdiff
path: root/libavformat/loasdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/loasdec.c')
-rw-r--r--libavformat/loasdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/loasdec.c b/libavformat/loasdec.c
index c41809be00..70440559d2 100644
--- a/libavformat/loasdec.c
+++ b/libavformat/loasdec.c
@@ -73,8 +73,8 @@ static int loas_read_header(AVFormatContext *s)
if (!st)
return AVERROR(ENOMEM);
- st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
- st->codec->codec_id = s->iformat->raw_codec_id;
+ st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
+ st->codecpar->codec_id = s->iformat->raw_codec_id;
st->need_parsing = AVSTREAM_PARSE_FULL_RAW;
//LCM of all possible AAC sample rates