diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-12 22:58:57 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-12 23:01:42 +0100 |
commit | 0a373c31cb7f8dae84857881cd7e3829a6483efe (patch) | |
tree | 6214f64f08624f43047eb3ea3367fea29a1fd542 /libavcodec/svq1dec.c | |
parent | 7ab690bf5f4b24fca95113c0ee44f0847c9c3c6d (diff) | |
download | ffmpeg-streaming-0a373c31cb7f8dae84857881cd7e3829a6483efe.zip ffmpeg-streaming-0a373c31cb7f8dae84857881cd7e3829a6483efe.tar.gz |
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>
Diffstat (limited to 'libavcodec/svq1dec.c')
-rw-r--r-- | libavcodec/svq1dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c index 9b78275..e231eac 100644 --- a/libavcodec/svq1dec.c +++ b/libavcodec/svq1dec.c @@ -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); |