diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-06-15 22:20:47 +0400 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-06-15 22:20:47 +0400 |
commit | c940c31c88494c6accbdb0df3b715bd1f161368f (patch) | |
tree | 4ef9e2026753407945d67eb1e70cbc46164b89ae /libavformat/rtpenc_h264.c | |
parent | e7c7b2d87842c689ae7da4d6d636a08cb1e9ce88 (diff) |
Fix spelling.
Diffstat (limited to 'libavformat/rtpenc_h264.c')
-rw-r--r-- | libavformat/rtpenc_h264.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtpenc_h264.c b/libavformat/rtpenc_h264.c index be9cb2c774..0f8850ee77 100644 --- a/libavformat/rtpenc_h264.c +++ b/libavformat/rtpenc_h264.c @@ -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++; } |