Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-31avcodec/vp9_superframe_split_bsf: Don't read inexistent dataAndreas Rheinhardt
Fixes: Out of array read Fixes: 45137/clusterfuzz-testcase-minimized-ffmpeg_BSF_VP9_SUPERFRAME_SPLIT_fuzzer-4984270639202304 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-03-31avcodec/vp9_superframe_split_bsf: Discard invalid zero-sized framesAndreas Rheinhardt
They are invalid in VP9. If any of the frames inside a superframe had a size of zero, the code would either read into the next frame or into the superframe index; so check for the length to stop this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-03-24avcodec/bsf: Add FFBitStreamFilter, hide internals of BSFsAndreas Rheinhardt
This patch is analogous to 20f972701806be20a77f808db332d9489343bb78: It hides the internal part of AVBitStreamFilter by adding a new internal structure FFBitStreamFilter (declared in bsf_internal.h) that has an AVBitStreamFilter as its first member; the internal part of AVBitStreamFilter is moved to this new structure. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2020-05-22avcodec.h: split bitstream filters API into its own headerAnton Khirnov
2020-05-22lavc: rename bsf.h to bsf_internal.hAnton Khirnov
This will allow adding a public header named bsf.h
2018-08-17avcodec/vp9_superframe_split_bsf: implement a AVBSFContext.flush() callbackJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2018-03-21avcodec/vp9_superframe_split: fix memory leak in case of output packet ↵James Almer
creation failure Some function calls may fail after the output packet is initialized. Signed-off-by: James Almer <jamrial@gmail.com>
2018-03-20avcodec/vp9_superframe_split: move the reference in the bsf internal bufferJames Almer
There's no need to allocate a new packet for it. Signed-off-by: James Almer <jamrial@gmail.com>
2017-12-10avcodec/vp9_superframe_split_bsf: Fix integer overflow in ↵Michael Niedermayer
frame_size/total_size checks Fixes: signed integer overflow: -1698586465 + -551542752 cannot be represented in type 'int' Fixes: 4490/clusterfuzz-testcase-minimized-5210014592532480 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-04-23Merge commit '03a80925effc2698d21dc0b00290eecf42dd9e68'James Almer
* commit '03a80925effc2698d21dc0b00290eecf42dd9e68': lavc: add a bitstream filter for splitting VP9 superframes Merged-by: James Almer <jamrial@gmail.com>
2016-12-14lavc: add a bitstream filter for splitting VP9 superframesAnton Khirnov
Partially based on code by Ronald S. Bultje <rsbultje@gmail.com>.