diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-09-20 00:17:03 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-02 10:43:52 +0200 |
commit | 3ea7b445f1072f6def47dbddb03b4c2bf0421e68 (patch) | |
tree | 62c9294e253fe3aee9702b06dbebe004190640c5 /libavformat/movenc.c | |
parent | b5ef6bd7f085cf08f69fe2735eed01f4e076a330 (diff) | |
download | ffmpeg-3ea7b445f1072f6def47dbddb03b4c2bf0421e68.tar.gz |
avformat/movenc: Fix undefined shift
Fixes the movenc FATE-test.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 646799b42fd59ee79920e472795bf881b78bb5ce)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/movenc.c')
-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 415637d46f..72d90dc57b 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -4426,7 +4426,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; |