From d0b53d05c8fbd285f9267ba9a871e3ab2952b114 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 2 Dec 2007 14:06:28 +0000 Subject: [PATCH] Fix some spelling mistakes. Originally committed as revision 11125 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/apedec.c | 2 +- libavcodec/mpegvideo.h | 4 ++-- libavformat/rtp.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 8d06b9c5d2..29d4d3f6ac 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -514,7 +514,7 @@ static void init_predictor_decoder(APEContext * ctx) memset(p->historybuffer, 0, PREDICTOR_SIZE * sizeof(int32_t)); p->buf = p->historybuffer; - /* Initialize and zero the co-efficients */ + /* Initialize and zero the coefficients */ memcpy(p->coeffsA[0], initial_coeffs, sizeof(initial_coeffs)); memcpy(p->coeffsA[1], initial_coeffs, sizeof(initial_coeffs)); memset(p->coeffsB, 0, sizeof(p->coeffsB)); diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 36fb3729f9..541b702909 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -94,7 +94,7 @@ typedef struct ScanTable{ uint8_t permutated[64]; uint8_t raster_end[64]; #ifdef ARCH_POWERPC - /** Used by dct_quantize_alitvec to find last-non-zero */ + /** Used by dct_quantize_altivec to find last-non-zero */ DECLARE_ALIGNED_8(uint8_t, inverse[64]); #endif } ScanTable; @@ -111,7 +111,7 @@ typedef struct Picture{ uint8_t *interpolated[3]; int16_t (*motion_val_base[2])[2]; uint32_t *mb_type_base; -#define MB_TYPE_INTRA MB_TYPE_INTRA4x4 //default mb_type if theres just one type +#define MB_TYPE_INTRA MB_TYPE_INTRA4x4 //default mb_type if there is just one type #define IS_INTRA4x4(a) ((a)&MB_TYPE_INTRA4x4) #define IS_INTRA16x16(a) ((a)&MB_TYPE_INTRA16x16) #define IS_PCM(a) ((a)&MB_TYPE_INTRA_PCM) diff --git a/libavformat/rtp.c b/libavformat/rtp.c index a9979520c2..f21b162a89 100644 --- a/libavformat/rtp.c +++ b/libavformat/rtp.c @@ -767,7 +767,7 @@ static int rtp_write_header(AVFormatContext *s1) payload_type = RTP_PT_PRIVATE; /* private payload type */ s->payload_type = payload_type; -// following 2 FIXMies could be set based on the current time, theres normaly no info leak, as rtp will likely be transmitted immedeatly +// following 2 FIXMEs could be set based on the current time, there is normally no info leak, as RTP will likely be transmitted immediately s->base_timestamp = 0; /* FIXME: was random(), what should this be? */ s->timestamp = s->base_timestamp; s->cur_timestamp = 0;