Commit ea6331f8 authored by Ronald S. Bultje's avatar Ronald S. Bultje

h264-mt: fix deadlock in packets with multiple slices (e.g. MP4).

parent ae88e9cf
......@@ -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;
......
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