aboutsummaryrefslogtreecommitdiffstats
path: root/libavresample/resample.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-11-01 01:10:37 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-11-27 16:49:18 -0500
commitd2f9f8e094d9e699dfe31ee8006830946567484c (patch)
tree7e4ba18e233af0a3d572332f2ec2fe05ecb9e366 /libavresample/resample.h
parent7f534d11ed37dd03cbaa73eefbfa75696ff04f58 (diff)
downloadffmpeg-d2f9f8e094d9e699dfe31ee8006830946567484c.tar.gz
lavr: correct the documentation for the ff_audio_resample() return value
Diffstat (limited to 'libavresample/resample.h')
-rw-r--r--libavresample/resample.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavresample/resample.h b/libavresample/resample.h
index b42fdbbaac..c16186ed53 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);