提交 ff7f75e1 编写于 作者: M Michael Niedermayer

Fix segfault due to deallocated entries in delayed_pic after size change.

Fixes issue714.

Originally committed as revision 15965 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 4f602856
......@@ -3639,6 +3639,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
if(h != h0)
return -1; // width / height changed during parallelized decoding
free_tables(h);
flush_dpb(s->avctx);
MPV_common_end(s);
}
if (!s->context_initialized) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册