From 562bec0e690760fb93deb2843a7237713103a191 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 30 Jul 2016 13:50:42 +0200 Subject: [PATCH] pnm_parser: Drop broken disabled cruft --- libavcodec/pnm_parser.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libavcodec/pnm_parser.c b/libavcodec/pnm_parser.c index 1b81c2abf0..03d2da9f96 100644 --- a/libavcodec/pnm_parser.c +++ b/libavcodec/pnm_parser.c @@ -56,15 +56,6 @@ retry: } goto retry; } -#if 0 - if (pc->index && pc->index * 2 + AV_INPUT_BUFFER_PADDING_SIZE < pc->buffer_size && buf_size > pc->index) { - memcpy(pc->buffer + pc->index, buf, pc->index); - pc->index += pc->index; - buf += pc->index; - buf_size -= pc->index; - goto retry; - } -#endif next = END_NOT_FOUND; } else { next = pnmctx.bytestream - pnmctx.bytestream_start