Commit 40388189 authored by Thomas Guillem's avatar Thomas Guillem

packetizer: h264_nal: fix get_avcC_to_AnnexB_NAL_size

Only the SPS was detected.
parent b656be8c
......@@ -82,6 +82,7 @@ static size_t get_avcC_to_AnnexB_NAL_size( const uint8_t *p_buf, size_t i_buf )
if(i_nal_size > i_buf - 2)
return 0;
i_total += i_nal_size + 4;
p_buf += i_nal_size + 2;
i_buf -= i_nal_size + 2;
}
}
......
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