diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-04-10 16:33:45 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-04-20 12:11:20 -0400 |
commit | b0e9edc44f1722787adacbff9aa60343206a58c0 (patch) | |
tree | f96cb66448431596724e4ffeec7605311108c9cf /libavformat | |
parent | acb1730218f1c614dc8ca3ba45d9de1e05059515 (diff) |
avcodec: add a cook parser to get subpacket duration
Fixes jittery video playback of rm files with cook audio.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rmdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index c85208b3fb..0113251bc6 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); |