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 5c8a8be573..4b4e04fff9 100644
--- a/libavformat/loasdec.c
+++ b/libavformat/loasdec.c
@@ -68,7 +68,7 @@ static int loas_read_header(AVFormatContext *s)
return AVERROR(ENOMEM);
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
- st->codec->codec_id = s->iformat->value;
+ st->codec->codec_id = s->iformat->raw_codec_id;
st->need_parsing = AVSTREAM_PARSE_FULL;
//LCM of all possible AAC sample rates
@@ -84,5 +84,5 @@ AVInputFormat ff_loas_demuxer = {
.read_header = loas_read_header,
.read_packet = ff_raw_read_partial_packet,
.flags= AVFMT_GENERIC_INDEX,
- .value = CODEC_ID_AAC_LATM,
+ .raw_codec_id = CODEC_ID_AAC_LATM,
};