Module: libav Branch: release/12 Commit: ad18b2266576a2539577a3db7b206df18fe78681
Author: Diego Biurrun <di...@biurrun.de> Committer: Sean McGovern <gsean...@gmail.com> Date: Sat Jul 30 13:50:42 2016 +0200 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 1b81c2a..03d2da9 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 _______________________________________________ libav-commits mailing list libav-commits@libav.org https://lists.libav.org/mailman/listinfo/libav-commits