Skip to content

Commit

Permalink
swresample: document the need to configure the context using AVOptions
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
lu-zero authored and michaelni committed Aug 10, 2014
1 parent 49456a9 commit c4ac48c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libswresample/swresample.h
Expand Up @@ -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.
Expand Down

0 comments on commit c4ac48c

Please sign in to comment.