Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-04 14:04:09 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-06-04 14:04:09 +0300
commitb14361486b39f1dc576ecda577fb0257c55174c5 (patch)
treef03810966b71e60bf2ac1449b0d6860b89fbd8b6 /libswresample/resample.c
parente0fd319784f6f5267442f53e74dad79771aaa5da (diff)
swresample/resample: fix typos
Found-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/resample.c')
-rw-r--r--libswresample/resample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswresample/resample.c b/libswresample/resample.c
index f2624b5dc7..554fd7b5f7 100644
--- a/libswresample/resample.c
+++ b/libswresample/resample.c
@@ -347,9 +347,9 @@ static int64_t get_delay(struct SwrContext *s, int64_t base){
static int64_t get_out_samples(struct SwrContext *s, int in_samples) {
ResampleContext *c = s->resample;
- // The + 2 are added to allow implementations to be slightly inaccuarte, they should not be needed currently
+ // The + 2 are added to allow implementations to be slightly inaccurate, they should not be needed currently.
// They also make it easier to proof that changes and optimizations do not
- // break the upper bound
+ // break the upper bound.
int64_t num = s->in_buffer_count + 2LL + in_samples;
num *= 1 << c->phase_shift;
num -= c->index;