Module: libav
Branch: master
Commit: d2f9f8e094d9e699dfe31ee8006830946567484c

Author:    Justin Ruggles <[email protected]>
Committer: Justin Ruggles <[email protected]>
Date:      Thu Nov  1 01:10:37 2012 -0400

lavr: correct the documentation for the ff_audio_resample() return value

---

 libavresample/resample.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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);

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to