mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
svq1dec: dont export the qscale table.
SVQ1 has no qscales so the table is of no use, and it triggers a bug as SVQ1 does not maintain the size of the table properly causing a crash. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7ab690bf5f
commit
0a373c31cb
@ -699,6 +699,7 @@ static int svq1_decode_frame(AVCodecContext *avctx, void *data,
|
||||
}
|
||||
|
||||
*pict = s->current_picture.f;
|
||||
pict->qscale_table = NULL;
|
||||
|
||||
ff_MPV_frame_end(s);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user