From c940c31c88494c6accbdb0df3b715bd1f161368f Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Wed, 15 Jun 2011 20:20:47 +0200 Subject: Fix spelling. --- libavformat/rtpenc_h264.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavformat/rtpenc_h264.c') 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++; } -- cgit v1.2.3