mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
Fix spelling.
This commit is contained in:
parent
e7c7b2d878
commit
c940c31c88
@ -29,14 +29,14 @@
|
||||
#include "avc.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;
|
||||
|
||||
if (end - start < nal_lenght_size) {
|
||||
if (end - start < nal_length_size) {
|
||||
return NULL;
|
||||
}
|
||||
while (nal_lenght_size--) {
|
||||
while (nal_length_size--) {
|
||||
res = (res << 8) | *start++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user