aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-07-30 13:50:42 +0200
committerDiego Biurrun <diego@biurrun.de>2016-08-17 12:16:42 +0200
commit562bec0e690760fb93deb2843a7237713103a191 (patch)
tree779df91f8e57af3b327799026678648df3e661f1
parenta972fc1c0ab6e7f169f9145d6da46e8cedbc291c (diff)
downloadffmpeg-562bec0e690760fb93deb2843a7237713103a191.tar.gz
pnm_parser: Drop broken disabled cruft
-rw-r--r--libavcodec/pnm_parser.c9
1 files changed, 0 insertions, 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