summaryrefslogtreecommitdiff
path: root/libavcodec/snappy.c
Commit message (Collapse)AuthorAge
* Remove unnecessary mem.h inclusionsAndreas Rheinhardt2021-07-22
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/snappy: Sanity check bytestream2_get_levarint()Michael Niedermayer2020-02-03
| | | | | | | | | | Fixes: left shift of 79 by 28 places cannot be represented in type 'int' Fixes: 20202/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HAP_fuzzer-5719004081815552 Fixes: 20219/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HAP_fuzzer-5641738677125120 Fixes: 20389/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HAP_fuzzer-5680721517871104 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/snappy: refactor so ff_snappy_uncompress uses an existing bufferTom Butterworth2015-07-16
| | | | | | Some uses of Snappy require uncompressing to positions within an existing buffer. Also adds a function to get the uncompressed length of Snappy data. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '2ecfd451649c7a08cb633635df98e59f7c6e2140'Michael Niedermayer2015-06-22
| | | | | | | * commit '2ecfd451649c7a08cb633635df98e59f7c6e2140': Implement Snappy decompression Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Implement Snappy decompressionLuca Barbato2015-06-22
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>