Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-12-01 02:51:02 +0300
committerMichael Niedermayer <michaelni@gmx.at>2008-12-01 02:51:02 +0300
commitff7f75e18574ba0ac3e841a1ff3a962e41552df2 (patch)
tree885d7c2ab38a79b9df030fb59fd795d5b9c43ef8 /libavcodec
parent4f602856588f930d3aec1071a627eaf5be926cdb (diff)
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
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index e31500f15f..84875962a4 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -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) {