mirror of https://git.ffmpeg.org/ffmpeg.git
lavc: extend doxy for avcodec_alloc_context3().
This commit is contained in:
parent
44911f2985
commit
9bfe218299
|
@ -3415,6 +3415,9 @@ int avcodec_get_context_defaults3(AVCodecContext *s, AVCodec *codec);
|
||||||
* @param codec if non-NULL, allocate private data and initialize defaults
|
* @param codec if non-NULL, allocate private data and initialize defaults
|
||||||
* for the given codec. It is illegal to then call avcodec_open2()
|
* for the given codec. It is illegal to then call avcodec_open2()
|
||||||
* with a different codec.
|
* with a different codec.
|
||||||
|
* If NULL, then the codec-specific defaults won't be initialized,
|
||||||
|
* which may result in suboptimal default settings (this is
|
||||||
|
* important mainly for encoders, e.g. libx264).
|
||||||
*
|
*
|
||||||
* @return An AVCodecContext filled with default values or NULL on failure.
|
* @return An AVCodecContext filled with default values or NULL on failure.
|
||||||
* @see avcodec_get_context_defaults
|
* @see avcodec_get_context_defaults
|
||||||
|
|
Loading…
Reference in New Issue