On Tue, Oct 4, 2016 at 5:45 PM, Vittorio Giovara
<vittorio.giov...@gmail.com> wrote:
> ---
>  libavcodec/avcodec.h | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index 167525d..a59d7e9 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -5017,12 +5017,14 @@ typedef struct AVBSFContext {
>      void *priv_data;
>
>      /**
> -     * Parameters of the input stream. Set by the caller before 
> av_bsf_init().
> +     * Parameters of the input stream. This field is allocated in 
> av_bsf_init(),
> +     * Needs to be initialized by the caller before av_bsf_init().
>       */
>      AVCodecParameters *par_in;

This makes no sense to me. The caller inits it but the function then
allocates it afterwards? Wut?

>
>      /**
> -     * Parameters of the output stream. Set by the filter in av_bsf_init().
> +     * Parameters of the output stream. This field is allocated in
> +     * av_bsf_init(), it is set by the filter in av_bsf_init().
>       */
>      AVCodecParameters *par_out;
>
> --
> 2.10.0
>
> _______________________________________________
> libav-devel mailing list
> libav-devel@libav.org
> https://lists.libav.org/mailman/listinfo/libav-devel
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to