[FFmpeg-cvslog] pnm_parser: Drop broken disabled cruft

Diego Biurrun git at videolan.org
Sun Mar 19 16:49:03 EET 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Jul 30 13:50:42 2016 +0200| [562bec0e690760fb93deb2843a7237713103a191] | committer: Diego Biurrun

pnm_parser: Drop broken disabled cruft

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=562bec0e690760fb93deb2843a7237713103a191
---

 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



More information about the ffmpeg-cvslog mailing list