ffmpeg | branch: release/4.2 | Andreas Rheinhardt <andreas.rheinha...@gmail.com> | Fri Sep 20 00:17:03 2019 +0200| [d58dab562b7229961e837b3e5205aa52fdc00a3e] | committer: Andreas Rheinhardt
avformat/movenc: Fix undefined shift Fixes the movenc FATE-test. Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com> (cherry picked from commit 646799b42fd59ee79920e472795bf881b78bb5ce) > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d58dab562b7229961e837b3e5205aa52fdc00a3e --- libavformat/movenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 4d4d0cd024..d0bd1824e1 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -4475,7 +4475,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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".