From c4ac48c5a1464e20bb02ef62da2503906349e297 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Mon, 11 Aug 2014 00:35:19 +0200 Subject: swresample: document the need to configure the context using AVOptions Signed-off-by: Michael Niedermayer --- libswresample/swresample.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libswresample') diff --git a/libswresample/swresample.h b/libswresample/swresample.h index e4bbeba..4b8b045 100644 --- a/libswresample/swresample.h +++ b/libswresample/swresample.h @@ -211,6 +211,10 @@ struct SwrContext *swr_alloc(void); /** * Initialize context after user parameters have been set. + * @note The context must be configured using the AVOption API. + * + * @see av_opt_set_int() + * @see av_opt_set_dict() * * @param[in,out] s Swr context to initialize * @return AVERROR error code in case of failure. -- cgit v1.1