[FFmpeg-devel] [PATCH] avcodec/pnm_parser: Remember the length already scanned for ascii images

Paul B Mahol onemda at gmail.com
Sat Apr 27 16:26:35 EEST 2019


On 4/27/19, Michael Niedermayer <michael at niedermayer.cc> wrote:
> On Sat, Apr 27, 2019 at 02:58:38PM +0200, Michael Niedermayer wrote:
>> Fixes: speed regression with xmap_samsung_gear_2560x1280.pgm
>> Found-by: Michael Koch
>> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
>> ---
>>  libavcodec/pnm_parser.c | 15 ++++++++++++++-
>>  1 file changed, 14 insertions(+), 1 deletion(-)
>
> this depends on " avcodec/pnm_parser: Remember the size of the image and do
> not reparse the header"

LGTM then


More information about the ffmpeg-devel mailing list