OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f60285
)
Fix segfault due to deallocated entries in delayed_pic after size change.
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 30 Nov 2008 23:51:02 +0000
(23:51 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 30 Nov 2008 23:51:02 +0000
(23:51 +0000)
Fixes issue714.
Originally committed as revision 15965 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
e31500f
..
8487596
100644
(file)
--- 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) {