[FFmpeg-devel] [PATCH 2/2] avcodec/pnm: Avoid structure pointer dereferences in inner loop in pnm_get()
Lauri Kasanen
cand at gmx.com
Fri Feb 22 09:10:55 EET 2019
On Thu, 21 Feb 2019 20:34:29 +0100
Michael Niedermayer <michael at niedermayer.cc> wrote:
> Improves speed from 5.4 to 4.2 seconds
> Fixes: 13149/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGM_fuzzer-5760833622114304
LGTM
Though, I really would expect the compiler to detect and optimize that.
I wonder if "PNMContext * const sc" would help it any.
- Lauri
More information about the ffmpeg-devel
mailing list