Commit 60a07b40 authored by michael's avatar michael

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

Fixes issue714.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15965 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 446f7445
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment