You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
ffv1dec: defuse membomb
Fixes Ticket2589 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -918,7 +918,7 @@ static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src)
|
||||
if (dst == src)
|
||||
return 0;
|
||||
|
||||
if (!fdst->quant_table_count) {
|
||||
if (!fdst->picture.f) {
|
||||
memcpy(fdst, fsrc, sizeof(*fdst));
|
||||
|
||||
for (i = 0; i < fdst->quant_table_count; i++) {
|
||||
|
Reference in New Issue
Block a user