X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fpnm_parser.c;fp=libavcodec%2Fpnm_parser.c;h=175ca362674bfafa33897777426b4560156cfe7d;hb=059a934806d61f7af9ab3fd9f74994b838ea5eba;hp=2e00c0a31e27c685d58a85be1b7fc6812ab7c256;hpb=def97856de6021965db86c25a732d78689bd6bb0;p=ffmpeg diff --git a/libavcodec/pnm_parser.c b/libavcodec/pnm_parser.c index 2e00c0a31e2..175ca362674 100644 --- a/libavcodec/pnm_parser.c +++ b/libavcodec/pnm_parser.c @@ -55,7 +55,7 @@ retry: goto retry; } #if 0 - if (pc->index && pc->index * 2 + FF_INPUT_BUFFER_PADDING_SIZE < pc->buffer_size && buf_size > pc->index) { + 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;