Commit 0a373c31 authored by Michael Niedermayer's avatar Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7ab690bf
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment