Mercurial > libavcodec.hg
diff resample2.c @ 6524:01647ac078a7 libavcodec
typo: occured --> occurred
author | diego |
---|---|
date | Sat, 22 Mar 2008 01:06:57 +0000 |
parents | c2ab2ac31edb |
children | 3f819263176e |
line wrap: on
line diff
--- a/resample2.c Fri Mar 21 13:45:55 2008 +0000 +++ b/resample2.c Sat Mar 22 01:06:57 2008 +0000 @@ -208,7 +208,7 @@ /** * Compensates samplerate/timestamp drift. The compensation is done by changing - * the resampler parameters, so no audible clicks or similar distortions ocur + * the resampler parameters, so no audible clicks or similar distortions occur * @param compensation_distance distance in output samples over which the compensation should be performed * @param sample_delta number of output samples which should be output less * @@ -231,7 +231,7 @@ * @param src_size the number of unconsumed samples available * @param dst_size the amount of space in samples available in dst * @param update_ctx if this is 0 then the context wont be modified, that way several channels can be resampled with the same context - * @return the number of samples written in dst or -1 if an error occured + * @return the number of samples written in dst or -1 if an error occurred */ int av_resample(AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx){ int dst_index, i;