[FFmpeg-devel] [PATCH] Add comment about swresample buffering.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Feb 3 20:43:00 CET 2012


---
 libswresample/swresample.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libswresample/swresample.h b/libswresample/swresample.h
index 8dc4e1f..7651a83 100644
--- a/libswresample/swresample.h
+++ b/libswresample/swresample.h
@@ -102,6 +102,8 @@ void swr_free(struct SwrContext **s);
  *
  * @param s         allocated Swr context, with parameters set
  * @param out       output buffers, only the first one need be set in case of packed audio
+ *                  Note: in case this is not sufficiently large, remaining
+ *                  samples will be buffered.
  * @param out_count amount of space available for output in samples per channel
  * @param in        input buffers, only the first one need to be set in case of packed audio
  * @param in_count  number of input samples available in one channel
-- 
1.7.9



More information about the ffmpeg-devel mailing list