summaryrefslogtreecommitdiffstats
path: root/libavcodec/hq_hqa.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/hq_hqa: Use ff_set_dimensions()Michael Niedermayer2019-07-081-2/+4
| | | | | | | | Fixes: 15530/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HQ_HQA_fuzzer-5637370344374272 Fixes: signed integer overflow: 65312 * 65312 cannot be represented in type 'int' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hq_hqa: Check available space before reading slice offsetsMichael Niedermayer2019-05-121-0/+3
| | | | | | | | | Fixes: Timeout (43sec -> 18sec) Fixes: 14556/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HQ_HQA_fuzzer-5673543024508928 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>
* avcodec/hq_hqa: Check remaining input bits in hqa_decode_mb()Michael Niedermayer2018-08-251-0/+3
| | | | | | | | Fixes: Timeout Fixes: 9634/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HQ_HQA_fuzzer-6267852259590144 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hq_hqa: Fix: runtime error: signed integer overflow: -255 * 10180917 ↵Michael Niedermayer2017-05-161-1/+1
| | | | | | | | | cannot be represented in type 'int' Fixes: 1626/clusterfuzz-testcase-minimized-6416580571299840 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hq_hqa: Fix runtime error: left shift of negative value -207Michael Niedermayer2017-05-061-2/+2
| | | | | | | Fixes: 1375/clusterfuzz-testcase-minimized-6070134701555712 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'b7f98659f21dce438c33b512e25fd64b8d07c347'Clément Bœsch2016-06-291-0/+1
|\ | | | | | | | | | | | | * commit 'b7f98659f21dce438c33b512e25fd64b8d07c347': Remove unnecessary get_bits.h #includes Merged-by: Clément Bœsch <clement@stupeflix.com>
| * Remove unnecessary get_bits.h #includesDiego Biurrun2016-06-071-0/+1
| |
* | Use correct msvc type specifiers for ptrdiff_t and size_t.Carl Eugen Hoyos2016-03-091-2/+2
| |
* | Merge commit 'def97856de6021965db86c25a732d78689bd6bb0'Michael Niedermayer2015-07-271-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'def97856de6021965db86c25a732d78689bd6bb0': lavc: AV-prefix all codec capabilities Conflicts: cmdutils.c ffmpeg.c ffplay.c libavcodec/8svx.c libavcodec/aacenc.c libavcodec/ac3dec.c libavcodec/adpcm.c libavcodec/alac.c libavcodec/atrac3plusdec.c libavcodec/bink.c libavcodec/dnxhddec.c libavcodec/dvdec.c libavcodec/dvenc.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/fic.c libavcodec/flacdec.c libavcodec/flacenc.c libavcodec/flvdec.c libavcodec/fraps.c libavcodec/frwu.c libavcodec/gifdec.c libavcodec/h261dec.c libavcodec/hevc.c libavcodec/iff.c libavcodec/imc.c libavcodec/libopenjpegdec.c libavcodec/libvo-aacenc.c libavcodec/libvorbisenc.c libavcodec/libvpxdec.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/mjpegbdec.c libavcodec/mjpegdec.c libavcodec/mpegaudiodec_float.c libavcodec/msmpeg4dec.c libavcodec/mxpegdec.c libavcodec/nvenc_h264.c libavcodec/nvenc_hevc.c libavcodec/pngdec.c libavcodec/qpeg.c libavcodec/ra288.c libavcodec/rv10.c libavcodec/s302m.c libavcodec/sp5xdec.c libavcodec/takdec.c libavcodec/tiff.c libavcodec/tta.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/vp6.c libavcodec/vp9.c libavcodec/wavpack.c libavcodec/yop.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-271-1/+1
| | | | | | | | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '0cf5588d69922aa3e063bac6304c09c543a9ef52'Michael Niedermayer2015-07-171-2/+4
|\ \ | |/ | | | | | | | | | | * commit '0cf5588d69922aa3e063bac6304c09c543a9ef52': hq_hqa: Fix decoding when INFO section is absent Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * hq_hqa: Fix decoding when INFO section is absentVittorio Giovara2015-07-171-2/+4
| |
* | avcodec/hq_hqa: Fix signness of tagMichael Niedermayer2015-06-081-2/+3
| | | | | | | | | | | | Fixes Ticket4509 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '28eddef689f2b4843a84f7d05fd9614246f92cc4'Michael Niedermayer2015-04-231-1/+4
|\ \ | |/ | | | | | | | | | | * commit '28eddef689f2b4843a84f7d05fd9614246f92cc4': hq_hqa: Validate get_vlc2 return value Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hq_hqa: Validate get_vlc2 return valueLuca Barbato2015-04-221-1/+4
| | | | | | | | | | The `hq_ac_vlc.table` is incomplete, so unaccounted symbol return -1 as value.
* | avcodec/hq_hqa: remove superfluous log messagePaul B Mahol2015-04-211-6/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit 'bd5ad8b23d0f7d469ca30d03deca879993eb0431'Michael Niedermayer2015-04-201-1/+2
|\ \ | |/ | | | | | | | | | | * commit 'bd5ad8b23d0f7d469ca30d03deca879993eb0431': hq_hqa: Fix reading hqa quantization matrix index Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hq_hqa: Fix reading hqa quantization matrix indexVittorio Giovara2015-04-201-1/+2
| | | | | | | | Value is stored as a byte.
* | Merge commit '22526c1f557a72b3285d295bd8b30c40eb65d437'Michael Niedermayer2015-04-201-4/+4
|/ | | | | | | | | | | * commit '22526c1f557a72b3285d295bd8b30c40eb65d437': Canopus HQ/HQA decoder Conflicts: Changelog libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Canopus HQ/HQA decoderVittorio Giovara2015-04-191-0/+384
Based on work by Kostya Shishkov <kostya.shishkov@gmail.com>. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
OpenPOWER on IntegriCloud