diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-11-01 19:08:08 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-11-28 01:49:19 +0400 |
commit | 1d86aa8b0f491f06e848026c7704daa39a54f523 (patch) | |
tree | d9c78bcce142f8b2d5845bb54721b8589a2e038f /libavresample/resample.h | |
parent | d2f9f8e094d9e699dfe31ee8006830946567484c (diff) |
lavr: do not pass consumed samples as a parameter to ff_audio_resample()
Since the resampler handles buffering of unconsumed samples internally, the
caller does not need this information.
Diffstat (limited to 'libavresample/resample.h')
-rw-r--r-- | libavresample/resample.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavresample/resample.h b/libavresample/resample.h index c16186ed53..7534e26ad4 100644 --- a/libavresample/resample.h +++ b/libavresample/resample.h @@ -61,10 +61,8 @@ void ff_audio_resample_free(ResampleContext **c); * @param c ResampleContext * @param dst destination audio data * @param src source audio data - * @param consumed number of samples consumed from the source * @return 0 on success, negative AVERROR code on failure */ -int ff_audio_resample(ResampleContext *c, AudioData *dst, AudioData *src, - int *consumed); +int ff_audio_resample(ResampleContext *c, AudioData *dst, AudioData *src); #endif /* AVRESAMPLE_RESAMPLE_H */ |