diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-31 07:50:31 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-31 07:50:31 +0100 |
commit | f7fe41a04f962707a99597d2ea49d73ca90b23a0 (patch) | |
tree | 7f006be3b4b527e1cbe26e69db18d4c02c5642d7 /libavformat/aacdec.c | |
parent | 9a463917d30147a9728a7b19b03c217527e09046 (diff) | |
download | ffmpeg-f7fe41a04f962707a99597d2ea49d73ca90b23a0.tar.gz |
lavf: rename AVInputFormat.value to raw_codec_id.
It's only used by raw demuxers for storing the codec id.
Diffstat (limited to 'libavformat/aacdec.c')
-rw-r--r-- | libavformat/aacdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c index df94d15831..992376ed38 100644 --- a/libavformat/aacdec.c +++ b/libavformat/aacdec.c @@ -70,7 +70,7 @@ static int adts_aac_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; ff_id3v1_read(s); @@ -89,5 +89,5 @@ AVInputFormat ff_aac_demuxer = { .read_packet = ff_raw_read_partial_packet, .flags= AVFMT_GENERIC_INDEX, .extensions = "aac", - .value = CODEC_ID_AAC, + .raw_codec_id = CODEC_ID_AAC, }; |