Commit 64876b81 authored by Francois Cartegnie's avatar Francois Cartegnie

packetizer: h264: remove dead code (cid #1346938)

parent 2ef784f3
...@@ -183,8 +183,6 @@ int h264_get_spspps( uint8_t *p_buf, size_t i_buf, ...@@ -183,8 +183,6 @@ int h264_get_spspps( uint8_t *p_buf, size_t i_buf,
break; break;
} }
if (i_buf < 4)
return -1;
i_nal_type = p_buf[3] & 0x1F; i_nal_type = p_buf[3] & 0x1F;
/* The start prefix is always 0x00000001 (annexb_startcode + a /* The start prefix is always 0x00000001 (annexb_startcode + a
......
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