You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
flacdec: Fix used AVCodecContext
Fixes out of array writes with multiple threads Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -498,6 +498,7 @@ static int flac_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
*got_frame_ptr = 0;
|
*got_frame_ptr = 0;
|
||||||
|
s->avctx = avctx;
|
||||||
|
|
||||||
if (s->max_framesize == 0) {
|
if (s->max_framesize == 0) {
|
||||||
s->max_framesize =
|
s->max_framesize =
|
||||||
|
Reference in New Issue
Block a user