Michael Niedermayer
3c81d7025e
avcodec/apedec: Use 64bit to avoid overflow
...
Fixes: runtime error: signed integer overflow: 727298502 * 3 cannot be represented in type 'int'
Fixes: 39172/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-638602483033702
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit f059b56195
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-16 21:19:24 +02:00
Michael Niedermayer
9236882745
avcodec/apedec: Fix undefined integer overflow in long_filter_ehigh_3830()
...
Fixes: signed integer overflow: -2145648640 - 3357696 cannot be represented in type 'int'
Fixes: 38899/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5358815017566208
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit ad517ee6e4
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-16 21:19:24 +02:00
Michael Niedermayer
186222fa56
oavformat/avidec: Check offset in odml
...
Fixes: signed integer overflow: 9223372036854775807 + 8 cannot be represented in type 'long'
Fixes: 38787/clusterfuzz-testcase-minimized-ffmpeg_dem_AVI_fuzzer-4859845799444480
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 255a7b423e
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-16 21:19:24 +02:00
Michael Niedermayer
e295b5f3d3
avformat/mpegts: use actually read packet size in mpegts_resync special case
...
Fixes: infinite loop
Fixes: 37986/clusterfuzz-testcase-minimized-ffmpeg_dem_MPEGTSRAW_fuzzer-5292311517462528 -
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Marton Balint <cus@passwd.hu >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 83b2e4c8f1
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-16 21:19:24 +02:00
Timo Rothenpieler
0699b0836d
avfilter/scale_npp: fix non-aligned output frame dimensions
2021-10-07 18:31:41 +02:00
Michael Niedermayer
ef2efaa78b
Update for 4.1.8
2021-10-06 13:43:40 +02:00
Michael Niedermayer
ff48f4aad7
swscale/alphablend: Fix slice handling
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 06d6726588
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-06 12:06:15 +02:00
Michael Niedermayer
c59e2d2f03
avcodec/mxpegdec: Check for AVDISCARD_ALL
...
Fixes: Fixes NULL pointer dereference
Fixes: 36610/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MXPEG_fuzzer-6052641783283712
Fixes: 37907/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MXPEG_fuzzer-4725170850365440
Fixes: 37904/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MXPEG_fuzzer-6367889262247936
Fixes: 38085/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MXPEG_fuzzer-5175270823297024
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 20afd3a63a
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-06 12:06:15 +02:00
Michael Niedermayer
800e7d83e8
avcodec/flicvideo: Check remaining bytes in FLI*COPY
...
Fixes: Timeout
Fixes: 37795/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLIC_fuzzer-4846536543043584
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 5f835efbca
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-06 12:06:15 +02:00
Michael Niedermayer
512a132e4c
avcodec/cbs_h265_syntax_template: Limit sps_num_palette_predictor_initializer_minus1 to 127
...
Fixes: index 128 out of bounds for type 'uint16_t [128]'
Fixes: 38651/clusterfuzz-testcase-minimized-ffmpeg_BSF_HEVC_METADATA_fuzzer-6296416058736640
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 85413a5ae6
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-06 12:06:15 +02:00
Michael Niedermayer
448e9ce5e5
avcodec/mpeg12dec: Do not put mpeg_f_code into an invalid state on error return
...
Fixes: invalid shift
Fixes: 37018/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG2VIDEO_fuzzer-5290280902328320
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 5a95abcce4
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-06 12:06:15 +02:00
Michael Niedermayer
552430993d
avcodec/mpegvideo_enc: Limit bitrate tolerance to the representable
...
Fixes: error: 1.66789e+11 is outside the range of representable values of type 'int'
Fixes: Ticket8201
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 245017ec8a
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-06 12:06:15 +02:00
Michael Niedermayer
25f9794e56
avcodec/apedec: Fix integer overflow in intermediate
...
Fixes: signed integer overflow: 559334865 * 4 cannot be represented in type 'int'
Fixes: 37929/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-6751932295806976
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 90da43557f
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-06 12:06:15 +02:00
Michael Niedermayer
ea9fc9676c
avformat/mvdec: Do not set invalid sample rate
...
Fixes: signed integer overflow: -682581959642593728 * 16 cannot be represented in type 'long'
Fixes: 37883/clusterfuzz-testcase-minimized-ffmpeg_dem_MV_fuzzer-5311691517198336
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 737e6bf216
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-06 12:06:15 +02:00
Michael Niedermayer
a214f6e238
avformat/rmdec: Use 64bit for intermediate for DEINT_ID_INT4
...
Fixes: runtime error: signed integer overflow: 65312 * 65535 cannot be represented in type 'int'
Fixes: 32832/clusterfuzz-testcase-minimized-ffmpeg_dem_RM_fuzzer-4817710040088576
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit e2c2872393
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-06 12:06:15 +02:00
Michael Niedermayer
ecb7f15b7b
avformat/mov: Check for duplicate clli
...
Fixes: memleak
Fixes: 35261/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-4869656287510528
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 9a222f140e
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-06 11:44:12 +02:00
Michael Niedermayer
f997f89071
avformat/jacosubdec: Check for min in t overflow in get_shift()
...
Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself
Fixes: 34651/clusterfuzz-testcase-minimized-ffmpeg_dem_JACOSUB_fuzzer-5157941012463616
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 989febfbd0
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-06 11:44:12 +02:00
Michael Niedermayer
6992f5f665
avformat/mxfdec: check channel number in mxf_get_d10_aes3_packet()
...
Fixes: Out of array access
Fixes: 37030/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5387719147651072
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 3dd5a8a135
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-10-06 11:44:12 +02:00
Paul B Mahol
d7490ef341
avfilter/vf_bwdif: fix heap-buffer overflow
...
Fixes #8261
(cherry picked from commit 8c3166e1c3
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:51:43 -03:00
Paul B Mahol
8c9ff740a3
avfilter/vf_bm3d: fix heap-buffer overflows
...
Fixes #8262
(cherry picked from commit 0749082eb9
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:51:43 -03:00
Paul B Mahol
f1fc3fe317
avfilter/vf_floodfill: finish early if source and destination fill matches
...
Fixes #8236
(cherry picked from commit 1331e00179
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:51:43 -03:00
Paul B Mahol
ac5a7d5a67
avfilter/vf_edgedetect: fix heap-buffer overflow
...
Fixes #8275
(cherry picked from commit de598f82f8
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:51:43 -03:00
Paul B Mahol
da3d6068f3
avfilter/vf_w3fdif: deny processing small videos
...
Fixes #8243
(cherry picked from commit 0e68e8c93f
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:51:43 -03:00
Paul B Mahol
df5e017709
avfilter/af_afade: fix heap-buffer overflow
...
Fixes #8276
(cherry picked from commit e1b89c76f6
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:50:46 -03:00
Paul B Mahol
29f1cf0c0f
avfilter/vf_colorconstancy: fix overreads in gauss array
...
Fixes #8250
(cherry picked from commit a7fd127970
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:50:33 -03:00
Paul B Mahol
e06e89f627
avcodec/pngenc: remove monowhite from apng formats
...
Monowhite pixel format is not supported, and it does not make sense
to add support for it.
Fixes #7989
(cherry picked from commit 5d9f44da46
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:50:33 -03:00
Paul B Mahol
aef4cbec69
avfilter/vf_datascope: fix heap buffer overflow
...
Fixes #8309
(cherry picked from commit d4d6b7b035
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:50:33 -03:00
Paul B Mahol
d60effdf83
avfilter/vf_fieldmatch: fix heap-buffer overflow
...
Also fix use of uninitialized values.
Fixes #8239
(cherry picked from commit ce5274c138
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:50:33 -03:00
Paul B Mahol
c79606f233
avfilter/vf_fieldorder: fix heap-buffer overflow
...
Fixes #8264
(cherry picked from commit 07050d7bdc
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:50:32 -03:00
Paul B Mahol
69f5d4b7fd
avfilter/vf_bitplanenoise: fix overreads
...
Fixes #8244
(cherry picked from commit 0b56723874
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:50:32 -03:00
Paul B Mahol
540047eda8
avfilter/vf_edgedetect: check if height is big enough
...
Fixes #8260
(cherry picked from commit ccf4ab8c9a
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:50:32 -03:00
Paul B Mahol
3a9f384225
avfilter/af_tremolo: fix heap-buffer overflow
...
Fixes #8317
(cherry picked from commit 58bb9d3a3a
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:50:32 -03:00
Paul B Mahol
f5da6cff35
avfilter/vf_neighbor: check if width is 1
...
Fixes #8242
(cherry picked from commit e787f8fd7e
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:49:27 -03:00
Paul B Mahol
01f3824f6c
avfilter/vf_avgblur: fix heap-buffer overflow
...
Fixes #8274
(cherry picked from commit f069a9c2a6
)
Signed-off-by: James Almer <jamrial@gmail.com >
2021-09-13 16:49:13 -03:00
Michael Niedermayer
fbb83f3d41
Revert "avformat/wvdec: Check rate for overflow"
...
The code this fixes is not in release/4.1
Found-by: <mkver>
This reverts commit b81d1379c2
.
n4.1.7
2021-09-10 16:04:39 +02:00
Michael Niedermayer
add3d4048d
Update for 4.1.7
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 21:03:35 +02:00
James Almer
dfb9a3f7f3
avcodec/utils: don't return negative values in av_get_audio_frame_duration()
...
In some extrme cases, like with adpcm_ms samples with an extremely high channel
count, get_audio_frame_duration() may return a negative frame duration value.
Don't propagate it, and instead return 0, signaling that a duration could not
be determined.
Fixes ticket #9312
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit e01d306c64
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:59:05 +02:00
Michael Niedermayer
608be8437b
avcodec/jpeg2000dec: Check that atom header is within bytsetream
...
Fixes: Infinite loop
Fixes: 36666/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5912760671141888
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 3c659f8618
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:59:05 +02:00
Michael Niedermayer
5240beb4c5
avcodec/apedec: Fix 2 integer overflows in filter_3800()
...
Fixes: signed integer overflow: 1683879955 - -466265224 cannot be represented in type 'int'
Fixes: 37419/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-6074294407921664
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 33feb527ff
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:59:05 +02:00
Michael Niedermayer
29d6be42d1
avcodec/xpmdec: Move allocations down after more error checks
...
Fixes: Timeout
Fixes: 37035/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XPM_fuzzer-5142718576721920
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit e58692837c
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:59:05 +02:00
Martin Storsjö
feba3d29be
network: Define ENOTCONN as WSAENOTCONN if not defined
...
This fixes compilation with old mingw.org toolchains, which has got
much fewer errno.h entries.
Signed-off-by: Martin Storsjö <martin@martin.st >
(cherry picked from commit 6569e9505c
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:59:05 +02:00
Michael Niedermayer
3837ebef6e
avformat/avidec: Use 64bit for frame number in odml index parsing
...
Fixes: signed integer overflow: 1179337772 + 1392508928 cannot be represented in type 'int'
Fixes: 34088/clusterfuzz-testcase-minimized-ffmpeg_dem_AVI_fuzzer-5846945303232512
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit a4c98c507e
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:59:05 +02:00
Michael Niedermayer
772e8bf0e7
avcodec/mjpegdec: Check for bits left in mjpeg_decode_scan_progressive_ac()
...
Fixes: Timeout
Fixes: 36262/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEGLS_fuzzer-4969052454912000
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 909faca929
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:59:05 +02:00
maryam ebrahimzadeh
db3dd0545c
avformat/adtsenc: return value check for init_get_bits in adts_decode_extradata
...
As the second argument for init_get_bits (buf) can be crafted, a return value check for this function call is necessary.
'buf' is part of 'AVPacket pkt'.
replace init_get_bits with init_get_bits8.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 9ffa49496d
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:59:05 +02:00
Michael Niedermayer
ad3df92f53
avcodec/webp: Check available space in loop in decode_entropy_coded_image()
...
Fixes: Timeout
Fixes: 35401/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WEBP_fuzzer-5714401821851648
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 5e00eab611
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:59:05 +02:00
Michael Niedermayer
d6d46907c6
avcodec/vc1dec: ff_print_debug_info() does not support WMV3 field_mode
...
Fixes: out of array read
Fixes: 36331/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV3_fuzzer-5140494328922112.fuzz
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit c59b5e3d1e
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:54:52 +02:00
Michael Niedermayer
51292064a2
avcodec/frame_thread_encoder: Free AVCodecContext structure on error during init
...
Fixes: MemLeak
Fixes: 8281
Fixes: PoC_option158.jpg
Fixes: CVE-2020-22037
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 7bba0dd638
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:54:52 +02:00
Michael Niedermayer
907273ca20
avcodec/faxcompr: Check for end of input in cmode == 1 in decode_group3_2d_line()
...
Fixes: Infinite loop
Fixes: 35591/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-4503764022198272
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit f803635c4f
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:54:52 +02:00
Michael Niedermayer
0b63cee7a0
avcodec/vc1dec: Disable error concealment for *IMAGE
...
The existing error concealment makes no sense for the image formats, they
use transformed source images which is different from keyframe + MC+difference
for which the error concealment is designed.
Of course feel free to re-enable this if you have a case where it works and
improves vissual results
Fixes: Timeout
Fixes: 36234/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1IMAGE_fuzzer-6300306743885824
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 643b2d49bf
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:54:52 +02:00
Michael Niedermayer
8c9f389083
avcodec/sbrdsp_fixed: Fix negation overflow in sbr_neg_odd_64_c()
...
Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself
Fixes: 35593/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-5182217725804544
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 8f2856a1da
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2021-09-09 13:54:52 +02:00