[FFmpeg-cvslog] lavr: correct the documentation for the ff_audio_resample() return value
Justin Ruggles
git at videolan.org
Wed Nov 28 13:31:26 CET 2012
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Thu Nov 1 01:10:37 2012 -0400| [d2f9f8e094d9e699dfe31ee8006830946567484c] | committer: Justin Ruggles
lavr: correct the documentation for the ff_audio_resample() return value
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d2f9f8e094d9e699dfe31ee8006830946567484c
---
libavresample/resample.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavresample/resample.h b/libavresample/resample.h
index b42fdbb..c16186e 100644
--- a/libavresample/resample.h
+++ b/libavresample/resample.h
@@ -62,7 +62,7 @@ void ff_audio_resample_free(ResampleContext **c);
* @param dst destination audio data
* @param src source audio data
* @param consumed number of samples consumed from the source
- * @return number of samples written to the destination
+ * @return 0 on success, negative AVERROR code on failure
*/
int ff_audio_resample(ResampleContext *c, AudioData *dst, AudioData *src,
int *consumed);
More information about the ffmpeg-cvslog
mailing list