summaryrefslogtreecommitdiff
path: root/libavcodec/pgxdec.c
Commit message (Collapse)AuthorAge
* avcodec: Constify AVCodecsAndreas Rheinhardt2021-04-27
| | | | | | | | | | Given that the AVCodec.next pointer has now been removed, most of the AVCodecs are not modified at all any more and can therefore be made const (as this patch does); the only exceptions are the very few codecs for external libraries that have a init_static_data callback. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: Constify some AVPacketsAndreas Rheinhardt2021-03-09
| | | | | Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* 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>