libavformat/movenc.c:3170:12: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] --- libavformat/movenc.c | 2 +- libavformat/movenc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index f99617a..bcd405f 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -573,7 +573,7 @@ static int mov_get_lpcm_flags(enum AVCodecID codec_id) } } -static int get_cluster_duration(MOVTrack *track, int cluster_idx) +static int get_cluster_duration(MOVTrack *track, unsigned cluster_idx) { int64_t next_dts; diff --git a/libavformat/movenc.h b/libavformat/movenc.h index f4ed188..93350a8 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -78,7 +78,7 @@ typedef struct MOVFragmentInfo { typedef struct MOVTrack { int mode; - int entry; + unsigned entry; unsigned timescale; uint64_t time; int64_t track_duration; -- 2.1.4 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel