ffmpeg | branch: master | Dale Curtis <dalecur...@chromium.org> | Tue Aug 21 
15:42:31 2018 -0700| [e7080d1fe29b0fc2ef3ac99234e037e6a49f5c97] | committer: 
Michael Niedermayer

avformat/mov: Correct opus-in-mp4 pre-skip to be uint16_t versus int16_t.

This field is a uint16_t, see docs:
http://opus-codec.org/docs/opus_in_isobmff.html#4.3.2

Signed-off-by: Dale Curtis <dalecur...@chromium.org>
Reviewed-by: James Almer <jamr...@gmail.com>
Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>

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

 libavformat/mov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index f36820995d..d66f4e338c 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -6614,7 +6614,7 @@ static int mov_read_dops(MOVContext *c, AVIOContext *pb, 
MOVAtom atom)
     const int OPUS_SEEK_PREROLL_MS = 80;
     AVStream *st;
     size_t size;
-    int16_t pre_skip;
+    uint16_t pre_skip;
 
     if (c->fc->nb_streams < 1)
         return 0;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to