[FFmpeg-cvslog] mov: Force the full parsing of mp3

Luca Barbato git at videolan.org
Wed Feb 24 19:09:39 CET 2016


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sat Feb  6 13:15:36 2016 +0100| [3ef98937f512184f80d3bd30015f5ec83dc11eb0] | committer: Luca Barbato

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 at libav.org

Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3ef98937f512184f80d3bd30015f5ec83dc11eb0
---

 libavformat/mov.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 134ce27..2b8ccd2 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. */



More information about the ffmpeg-cvslog mailing list