summaryrefslogtreecommitdiff
path: root/libavcodec/pgxdec.c
Commit message (Collapse)AuthorAge
* avcodec/pgxdec: Check depth more completelyMichael Niedermayer2020-10-25
| | | | | | | | | Fixes: shift exponent -1 is negative Fixes: 26107/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGX_fuzzer-5378790047612928 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/pgxdec: Fix invalid shift in write_frame_*Michael Niedermayer2020-09-29
| | | | | | | | Fixes: left shift of negative value -121 Fixes: 23911/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGX_fuzzer-4986800258154496 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavcodec/pgxdec Fix pix format selection errorGautam Ramakrishnan2020-07-30
| | | | | | | | This patch makes the pgx decoder select the correct byte order instead of selecting big endian format for 16 bit images. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavcodec/pgxdec: Add PGX decoderGautam Ramakrishnan2020-07-03
This patch adds a pgx decoder. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>