Commit e7080d1f authored by Dale Curtis's avatar Dale Curtis Committed by 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.2Signed-off-by: 's avatarDale Curtis <dalecurtis@chromium.org>
Reviewed-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 4251a44e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment