[FFmpeg-devel] [PATCH 08/11] avformat/movenc: Fix undefined shift

Paul B Mahol onemda at gmail.com
Thu Sep 26 15:21:15 EEST 2019


applied

On 9/20/19, Andreas Rheinhardt <andreas.rheinhardt at gmail.com> wrote:
> Fixes the movenc FATE-test.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at 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 at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list