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-03 14:13:49 +0200 |
commit | 2b177a46d270b5c2be15770d458e18441ecedffc (patch) | |
tree | 524509ac0e4eb74229e3f85fb50511abd0df7c6d | |
parent | f4bcf5742e930384fa32616437c7ab8c65e19357 (diff) | |
download | ffmpeg-2b177a46d270b5c2be15770d458e18441ecedffc.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>
-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 cf3d969547..e8f26cb08f 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -4180,7 +4180,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; |