Andreas Rheinhardt
74bffc00c5
avcodec: Constify some AVPackets
...
Reviewed-by: James Almer <jamrial@gmail.com >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com >
2021-03-09 13:41:22 +01:00
Michael Niedermayer
389b9e9b4f
avcodec/pgxdec: Check depth more completely
...
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 >
2020-10-25 09:47:37 +01:00
Michael Niedermayer
165d6b876b
avcodec/pgxdec: Fix invalid shift in write_frame_*
...
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 >
2020-09-29 00:43:26 +02:00
Gautam Ramakrishnan
8821df6fcf
libavcodec/pgxdec Fix pix format selection error
...
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 >
2020-07-30 00:23:45 +02:00
Gautam Ramakrishnan
cfe2cf0a63
libavcodec/pgxdec: Add PGX decoder
...
This patch adds a pgx decoder.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2020-07-03 23:28:26 +02:00