Message ID | 20190919221706.16529-9-andreas.rheinhardt@gmail.com |
---|---|
State | Accepted |
Headers | show |
applied On 9/20/19, Andreas Rheinhardt <andreas.rheinhardt@gmail.com> wrote: > Fixes the movenc FATE-test. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> > --- > libavformat/movenc.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/libavformat/movenc.c b/libavformat/movenc.c > index edddfeeb00..ce9fc8c5aa 100644 > --- a/libavformat/movenc.c > +++ b/libavformat/movenc.c > @@ -1,3 +1,4 @@ > + > /* > * MOV, 3GP, MP4 muxer > * Copyright (c) 2003 Thomas Raivio > @@ -4511,7 +4512,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; > -- > 2.20.1 > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index edddfeeb00..ce9fc8c5aa 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1,3 +1,4 @@ + /* * MOV, 3GP, MP4 muxer * Copyright (c) 2003 Thomas Raivio @@ -4511,7 +4512,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;
Fixes the movenc FATE-test. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> --- libavformat/movenc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)