On Sat, Jan 28, 2012 at 09:09:26AM +0100, Anton Khirnov wrote: > --- > libavcodec/avcodec.h | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 18db7c5..d8e56ca 100644 > --- a/libavcodec/avcodec.h > +++ b/libavcodec/avcodec.h > @@ -3415,6 +3415,9 @@ int avcodec_get_context_defaults3(AVCodecContext *s, > AVCodec *codec); > * @param codec if non-NULL, allocate private data and initialize defaults > * for the given codec. It is illegal to then call > avcodec_open2() > * 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. > * @see avcodec_get_context_defaults > --
looks OK _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
