Skip to content
Snippets Groups Projects
Commit 60d4c6ff authored by Anton Khirnov's avatar Anton Khirnov
Browse files

h264: restore a block mistakenly removed in e10fd08a

CC: libav-stable@libav.org
Bug-ID: 781
parent 737d35e3
No related branches found
No related tags found
No related merge requests found
...@@ -1456,6 +1456,8 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size, ...@@ -1456,6 +1456,8 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size,
buf_index = find_start_code(buf, buf_size, buf_index, next_avc); buf_index = find_start_code(buf, buf_size, buf_index, next_avc);
if (buf_index >= buf_size) if (buf_index >= buf_size)
break; break;
if (buf_index >= next_avc)
continue;
} }
hx = h->thread_context[context_count]; hx = h->thread_context[context_count];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment