mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/movenc: Fix undefined shift
Fixes the movenc FATE-test.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 646799b42f
)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
b5ef6bd7f0
commit
3ea7b445f1
|
@ -4426,7 +4426,8 @@ static int mov_write_sidx_tag(AVIOContext *pb,
|
||||||
{
|
{
|
||||||
int64_t pos = avio_tell(pb), offset_pos, end_pos;
|
int64_t pos = avio_tell(pb), offset_pos, end_pos;
|
||||||
int64_t presentation_time, duration, offset;
|
int64_t presentation_time, duration, offset;
|
||||||
int starts_with_SAP, i, entries;
|
unsigned starts_with_SAP;
|
||||||
|
int i, entries;
|
||||||
|
|
||||||
if (track->entry) {
|
if (track->entry) {
|
||||||
entries = 1;
|
entries = 1;
|
||||||
|
|
Loading…
Reference in New Issue