1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-29 00:10:04 +02:00

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

This commit is contained in:
Ronald S. Bultje 2011-06-20 10:24:33 -04:00
parent ae88e9cf99
commit ea6331f8bb

View File

@ -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;