From eafcac6ac851a2dff63f761a3d796af8f3e3b314 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 24 Feb 2007 09:41:43 +0000 Subject: [PATCH] cosmetics: Fix another common typo, dependAnt --> dependEnt. Originally committed as revision 8114 to svn://svn.ffmpeg.org/ffmpeg/trunk --- doc/avutil.txt | 2 +- libavcodec/avcodec.h | 6 +++--- libavcodec/h263.c | 2 +- libavcodec/mjpeg.c | 2 +- libavcodec/ratecontrol.c | 4 ++-- libavcodec/snow.c | 4 ++-- libavcodec/svq1.c | 2 +- libavcodec/wma.c | 2 +- libavutil/mem.c | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/avutil.txt b/doc/avutil.txt index b27a6d50e7..a81e741187 100644 --- a/doc/avutil.txt +++ b/doc/avutil.txt @@ -31,7 +31,7 @@ intreadwrite.h reading and writing of unaligned big/little/native-endia Goals: ====== -* Modular (few interdependancies and the possibility of disabling individual parts during ./configure) +* Modular (few interdependencies and the possibility of disabling individual parts during ./configure) * Small (source and object) * Efficient (low CPU and memory usage) * Useful (avoid useless features almost noone needs) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 3fdb9dacc7..dadee8e721 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -383,7 +383,7 @@ typedef struct RcOverride{ /* Unsupported options : * Syntax Arithmetic coding (SAC) * Reference Picture Selection - * Independant Segment Decoding */ + * Independent Segment Decoding */ /* /Fx */ /* codec capabilities */ @@ -1705,14 +1705,14 @@ typedef struct AVCodecContext { /** * Thread count. - * is used to decide how many independant tasks should be passed to execute() + * is used to decide how many independent tasks should be passed to execute() * - encoding: set by user * - decoding: set by user */ int thread_count; /** - * the codec may call this to execute several independant things. it will return only after + * the codec may call this to execute several independent things. it will return only after * finishing all tasks, the user may replace this with some multithreaded implementation, the * default implementation will execute the parts serially * @param count the number of things to execute diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 27b66a0c81..31cc583915 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -2519,7 +2519,7 @@ void mpeg4_encode_picture_header(MpegEncContext * s, int picture_number) #endif //CONFIG_ENCODERS /** - * set qscale and update qscale dependant variables. + * set qscale and update qscale dependent variables. */ void ff_set_qscale(MpegEncContext * s, int qscale) { diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c index e13e12cc84..956f809922 100644 --- a/libavcodec/mjpeg.c +++ b/libavcodec/mjpeg.c @@ -901,7 +901,7 @@ typedef struct MJpegDecodeContext { int cur_scan; /* current scan, used by JPEG-LS */ } MJpegDecodeContext; -#include "jpeg_ls.c" //FIXME make jpeg-ls more independant +#include "jpeg_ls.c" //FIXME make jpeg-ls more independent static int mjpeg_decode_dht(MJpegDecodeContext *s); diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index d96c837e6c..9cf63c0cf6 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -751,7 +751,7 @@ float ff_rate_estimate_qscale(MpegEncContext *s, int dry_run) //printf("%f ", q); assert(q>0.0); - if(pict_type==P_TYPE || s->intra_only){ //FIXME type dependant blur like in 2-pass + if(pict_type==P_TYPE || s->intra_only){ //FIXME type dependent blur like in 2-pass rcc->short_term_qsum*=a->qblur; rcc->short_term_qcount*=a->qblur; @@ -811,7 +811,7 @@ static int init_pass2(MpegEncContext *s) int i, toobig; double fps= 1/av_q2d(s->avctx->time_base); double complexity[5]={0,0,0,0,0}; // aproximate bits at quant=1 - uint64_t const_bits[5]={0,0,0,0,0}; // quantizer idependant bits + uint64_t const_bits[5]={0,0,0,0,0}; // quantizer independent bits uint64_t all_const_bits; uint64_t all_available_bits= (uint64_t)(s->bit_rate*(double)rcc->num_entries/fps); double rate_factor=0; diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 270cafc802..c815e138a8 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -422,7 +422,7 @@ typedef struct Plane{ }Plane; typedef struct SnowContext{ -// MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independant of MpegEncContext, so this will be removed then (FIXME/XXX) +// MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independent of MpegEncContext, so this will be removed then (FIXME/XXX) AVCodecContext *avctx; RangeCoder c; @@ -473,7 +473,7 @@ typedef struct SnowContext{ int me_cache_generation; slice_buffer sb; - MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independant of MpegEncContext, so this will be removed then (FIXME/XXX) + MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independent of MpegEncContext, so this will be removed then (FIXME/XXX) }SnowContext; typedef struct { diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c index 5e86162696..4a6c5f55c9 100644 --- a/libavcodec/svq1.c +++ b/libavcodec/svq1.c @@ -65,7 +65,7 @@ static VLC svq1_inter_mean; #define SVQ1_BLOCK_INTRA 3 typedef struct SVQ1Context { - MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independant of MpegEncContext, so this will be removed then (FIXME/XXX) + MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independent of MpegEncContext, so this will be removed then (FIXME/XXX) AVCodecContext *avctx; DSPContext dsp; AVFrame picture; diff --git a/libavcodec/wma.c b/libavcodec/wma.c index 31a417ac51..87b95ea5a9 100644 --- a/libavcodec/wma.c +++ b/libavcodec/wma.c @@ -108,7 +108,7 @@ int ff_wma_init(AVCodecContext * avctx, int flags2) s->nb_block_sizes = 1; } - /* init rate dependant parameters */ + /* init rate dependent parameters */ s->use_noise_coding = 1; high_freq = s->sample_rate * 0.5; diff --git a/libavutil/mem.c b/libavutil/mem.c index f43fb54207..fb0fb63e20 100644 --- a/libavutil/mem.c +++ b/libavutil/mem.c @@ -26,7 +26,7 @@ #include "common.h" -/* here we can use OS dependant allocation functions */ +/* here we can use OS dependent allocation functions */ #undef malloc #undef free #undef realloc