diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-09-20 00:17:03 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-09-26 14:12:24 +0200 |
commit | 646799b42fd59ee79920e472795bf881b78bb5ce (patch) | |
tree | cf0500f5d493c186caadd6f30fc322089303f803 | |
parent | 093b6894bfc2a8f0804f1c774bfe7827e44ffdb2 (diff) | |
download | ffmpeg-646799b42fd59ee79920e472795bf881b78bb5ce.tar.gz |
avformat/movenc: Fix undefined shift
Fixes the movenc FATE-test.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavformat/movenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index c824ff5ba1..e095af0972 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -4512,7 +4512,8 @@ static int mov_write_sidx_tag(AVIOContext *pb, { int64_t pos = avio_tell(pb), offset_pos, end_pos; int64_t presentation_time, duration, offset; - int starts_with_SAP, i, entries; + unsigned starts_with_SAP; + int i, entries; if (track->entry) { entries = 1; |