summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/movenc.c3
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;