Re: [FFmpeg-devel] [PATCH] lavfi/testsrc2: fix hang with very small sizes.

2017-10-31 Thread Nicolas George
Le decadi 10 brumaire, an CCXXVI, Martin Vignali a écrit : > lgtm Thanks, pushed. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmp

Re: [FFmpeg-devel] [PATCH] lavfi/testsrc2: fix hang with very small sizes.

2017-10-30 Thread Martin Vignali
2017-10-30 10:14 GMT+01:00 Nicolas George : > Move a subtraction to the other side of the equal to avoid overflows. > > Signed-off-by: Nicolas George > --- > libavfilter/vsrc_testsrc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/vsrc_testsrc.c b/libav

[FFmpeg-devel] [PATCH] lavfi/testsrc2: fix hang with very small sizes.

2017-10-30 Thread Nicolas George
Move a subtraction to the other side of the equal to avoid overflows. Signed-off-by: Nicolas George --- libavfilter/vsrc_testsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c index fe0d50aa41..a790974d14 100644 -