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-01 22:27:58 +0200 |
commit | 62df14c7fe1c33a972506105b61bb458833b8df4 (patch) | |
tree | a78df4fa3f66040c92e867abed407e938b5bba0a /libavformat/movenc.c | |
parent | 2b9ddde1d027f316c2a064fcf61e94a6c9dda981 (diff) | |
download | ffmpeg-62df14c7fe1c33a972506105b61bb458833b8df4.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 1a1bd9eaad..1028138a5e 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -4453,7 +4453,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; |