summaryrefslogtreecommitdiffstats
path: root/libavresample/avresample.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-05-09 06:35:13 +0200
committerAnton Khirnov <anton@khirnov.net>2012-05-09 17:37:47 +0200
commit0982b0a431060039517b35af7eae14dbf1c2ce10 (patch)
tree0558d0a49a3c562baf35f74f633eff2134680942 /libavresample/avresample.h
parentb1f9be543687b837069be88428f798ac8ca28e8e (diff)
downloadffmpeg-streaming-0982b0a431060039517b35af7eae14dbf1c2ce10.zip
ffmpeg-streaming-0982b0a431060039517b35af7eae14dbf1c2ce10.tar.gz
lavr: make avresample_read() with NULL output discard samples.
Diffstat (limited to 'libavresample/avresample.h')
-rw-r--r--libavresample/avresample.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavresample/avresample.h b/libavresample/avresample.h
index 7350805..65d4d2d 100644
--- a/libavresample/avresample.h
+++ b/libavresample/avresample.h
@@ -274,7 +274,8 @@ int avresample_available(AVAudioResampleContext *avr);
* @see avresample_convert()
*
* @param avr audio resample context
- * @param output output data pointers
+ * @param output output data pointers. May be NULL, in which case
+ * nb_samples of data is discarded from output FIFO.
* @param nb_samples number of samples to read from the FIFO
* @return the number of samples written to output
*/
OpenPOWER on IntegriCloud