Commit c940c31c authored by Reimar Döffinger's avatar Reimar Döffinger

Fix spelling.

parent e7c7b2d8
...@@ -29,14 +29,14 @@ ...@@ -29,14 +29,14 @@
#include "avc.h" #include "avc.h"
#include "rtpenc.h" #include "rtpenc.h"
static const uint8_t *avc_mp4_find_startcode(const uint8_t *start, const uint8_t *end, int nal_lenght_size) static const uint8_t *avc_mp4_find_startcode(const uint8_t *start, const uint8_t *end, int nal_length_size)
{ {
int res = 0; int res = 0;
if (end - start < nal_lenght_size) { if (end - start < nal_length_size) {
return NULL; return NULL;
} }
while (nal_lenght_size--) { while (nal_length_size--) {
res = (res << 8) | *start++; res = (res << 8) | *start++;
} }
......
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