diff --git a/doc/avutil.txt b/doc/avutil.txt index b27a6d50e71897017d4fd072f0cbe4208d484cd1..a81e74118712f0a569b7e2ae48e23afaf9dd90d9 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 3fdb9dacc7378edd48dda2f00a1f04fe6fafc079..dadee8e7214a53ac65ef0d382dc9e7b0e6ef4b5d 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 27b66a0c81224d413f319091d19512e10bbf2abe..31cc583915cbfc7560a8300643657f4bf87b4c2a 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 e13e12cc842126909ff5000e596c7a326a58c8e0..956f809922ac09a2858dce20c848ef6a48582710 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 d96c837e6ce456023aacc31c05ceeedecafd0478..9cf63c0cf68c37cad0156ae569378c44afa7417e 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 270cafc802e4b89a4722f66ffc33cbdb14f626b4..c815e138a8720ce97497fa9692af340436ec5889 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 5e86162696f891e0e44e6b982a1f581e70e8df3f..4a6c5f55c93ee169cff7332b2a5f918a0d223057 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 31a417ac51491e1bd54c344e8cae795634ba1e2b..87b95ea5a9e3eda39cad8f0b7d933633a70da183 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 f43fb542073c0036b8bd0ac7e77c12ec17a739df..fb0fb63e20864b7ec663e842a743fb2253783d79 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