]> git.sesse.net Git - ffmpeg/blobdiff - libavresample/resample.h
avresample: use valid log context in mixing functions
[ffmpeg] / libavresample / resample.h
index b42fdbbaacf0b9f13e334b50eef795f8cb45e22d..7534e26ad4efaab1bf60b689d3d26bcc3fd06f8e 100644 (file)
@@ -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          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);
+int ff_audio_resample(ResampleContext *c, AudioData *dst, AudioData *src);
 
 #endif /* AVRESAMPLE_RESAMPLE_H */