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:
ae88e9c
)
h264-mt: fix deadlock in packets with multiple slices (e.g. MP4).
author
Ronald S. Bultje
<rsbultje@gmail.com>
Mon, 20 Jun 2011 14:24:33 +0000
(10:24 -0400)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Mon, 20 Jun 2011 14:24:33 +0000
(10:24 -0400)
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
b42468a
..
dc4acb8
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-3685,6
+3685,8
@@
static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){
switch (hx->nal_unit_type) {
case NAL_SPS:
case NAL_PPS:
+ case NAL_IDR_SLICE:
+ case NAL_SLICE:
nals_needed = nal_index;
}
continue;