projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a27ae2
)
h264: initialize frame-mt context copies properly
author
Janne Grunau
<janne-libav@jannau.net>
Sun, 9 Dec 2012 18:19:51 +0000
(19:19 +0100)
committer
Janne Grunau
<janne-libav@jannau.net>
Thu, 13 Dec 2012 20:02:42 +0000
(21:02 +0100)
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
e4887ff
..
12af810
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-1125,6
+1125,8
@@
static int decode_init_thread_copy(AVCodecContext *avctx)
memset(h->sps_buffers, 0, sizeof(h->sps_buffers));
memset(h->pps_buffers, 0, sizeof(h->pps_buffers));
+ h->s.context_initialized = 0;
+
return 0;
}