You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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;
|
||||
|
||||
*got_frame_ptr = 0;
|
||||
s->avctx = avctx;
|
||||
|
||||
if (s->max_framesize == 0) {
|
||||
s->max_framesize =
|
||||
|
Reference in New Issue
Block a user