[FFmpeg-cvslog] avresample: Document avresample_open() a little better

Luca Barbato git at videolan.org
Tue Nov 10 18:08:36 CET 2015


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Wed Nov  4 09:16:46 2015 +0100| [e2854e731f843906d9a9a5b882bed872341999fd] | committer: Luca Barbato

avresample: Document avresample_open() a little better

Bug-Id: 911

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e2854e731f843906d9a9a5b882bed872341999fd
---

 libavresample/avresample.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavresample/avresample.h b/libavresample/avresample.h
index b705a45..1dca6e4 100644
--- a/libavresample/avresample.h
+++ b/libavresample/avresample.h
@@ -167,9 +167,13 @@ AVAudioResampleContext *avresample_alloc_context(void);
 /**
  * Initialize AVAudioResampleContext.
  * @note The context must be configured using the AVOption API.
+ * @note The fields "in_channel_layout", "out_channel_layout",
+ *       "in_sample_rate", "out_sample_rate", "in_sample_fmt",
+ *       "out_sample_fmt" must be set.
  *
  * @see av_opt_set_int()
  * @see av_opt_set_dict()
+ * @see av_get_default_channel_layout()
  *
  * @param avr  audio resample context
  * @return     0 on success, negative AVERROR code on failure



More information about the ffmpeg-cvslog mailing list