aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-20 22:18:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-20 22:18:26 +0200
commit3194ab78a6c4ea0a4c60c91c4d0ea34028ca408f (patch)
tree13f41910a7e4feec8d64182bf3b6772d88236098 /libavformat/rmdec.c
parent9b1f776d751472e8a376b412d02a96a35044e2a0 (diff)
parentb0e9edc44f1722787adacbff9aa60343206a58c0 (diff)
downloadffmpeg-3194ab78a6c4ea0a4c60c91c4d0ea34028ca408f.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: avcodec: add a cook parser to get subpacket duration FATE: allow lavf tests to alter input parameters FATE: replace the acodec-pcm_s24daud test with an enc_dec_pcm checksum test FATE: replace the acodec-g726 test with 4 new encode/decode tests FATE: replace current g722 encoding tests with an encode/decode test FATE: add a pattern rule for generating asynth wav files FATE: optionally write a WAVE header in audiogen avutil: add audio fifo buffer Conflicts: doc/APIchanges libavcodec/version.h libavutil/avutil.h tests/Makefile tests/codec-regression.sh tests/fate/voice.mak tests/lavf-regression.sh tests/ref/acodec/g722 tests/ref/acodec/g726 tests/ref/acodec/pcm_s24daud tests/ref/lavf/dv_fmt tests/ref/lavf/gxf tests/ref/lavf/mxf tests/ref/lavf/mxf_d10 tests/ref/seek/lavf_dv Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index bd83956c12..d919a9a41a 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -205,6 +205,7 @@ static int rm_read_audio_stream_info(AVFormatContext *s, AVIOContext *pb,
st->codec->block_align = coded_framesize;
break;
case CODEC_ID_COOK:
+ st->need_parsing = AVSTREAM_PARSE_HEADERS;
case CODEC_ID_ATRAC3:
case CODEC_ID_SIPR:
avio_rb16(pb); avio_r8(pb);