diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-02-06 13:15:36 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-02-19 17:35:26 +0100 |
commit | 3ef98937f512184f80d3bd30015f5ec83dc11eb0 (patch) | |
tree | 020bacf10b900ac2bdb61cce347d665e28bbb6f6 | |
parent | b4a0f172c7f116d8d329ff02f29c138a9291fd3c (diff) | |
download | ffmpeg-3ef98937f512184f80d3bd30015f5ec83dc11eb0.tar.gz |
mov: Force the full parsing of mp3
Some muxer might or might not fit incomplete mp3 frames in
their packets.
Bug-Id: 899
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r-- | libavformat/mov.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 134ce27bc7..2b8ccd28e8 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2533,6 +2533,9 @@ static int mov_read_trak(MOVContext *c, AVIOContext *pb, MOVAtom atom) st->codec->width = 0; /* let decoder init width/height */ st->codec->height= 0; break; + case AV_CODEC_ID_MP3: + st->need_parsing = AVSTREAM_PARSE_FULL; + break; } /* Do not need those anymore. */ |