From 478b53f935264bdfe4efe394f8d804a1361a6770 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 8 Apr 2017 13:57:36 +0200 Subject: Document memory requirements, minor style fixes, more use of BUFSIZ, fix warnings, and fix potential buffer overflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blind-crop.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/blind-crop.c') diff --git a/src/blind-crop.c b/src/blind-crop.c index bd0b9e0..c08864e 100644 --- a/src/blind-crop.c +++ b/src/blind-crop.c @@ -77,7 +77,6 @@ main(int argc, char *argv[]) right_start = left + orown; right = irown - right_start; - memcpy(buf, stream.buf, ptr = stream.ptr); while (eread_frame(&stream, buf, n)) { if (tile) { for (ptr = y = 0; y < stream.height; y++) { -- cgit v1.2.3-70-g09d2