diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-19 17:48:50 +0300 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-19 17:48:50 +0300 |
commit | 8a403b00d1bd8fdbe6fa545cc91b8a1a315e762b (patch) | |
tree | aee0c34672cde0e2488a42ce828ebbf649e5e1cd /libavcodec/pnm_parser.c | |
parent | 18cdef9ab7d713e4320318c6fd733f3ba958864f (diff) | |
parent | 562bec0e690760fb93deb2843a7237713103a191 (diff) |
Merge commit '562bec0e690760fb93deb2843a7237713103a191'
* commit '562bec0e690760fb93deb2843a7237713103a191':
pnm_parser: Drop broken disabled cruft
Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/pnm_parser.c')
-rw-r--r-- | libavcodec/pnm_parser.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/pnm_parser.c b/libavcodec/pnm_parser.c index 43dbfc7f27..bdd7f2b505 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 if (pnmctx.type < 4) { next = END_NOT_FOUND; |