On Mon, Oct 10, 2016 at 1:38 PM, Anton Khirnov <an...@khirnov.net> wrote:
> Quoting Vittorio Giovara (2016-10-04 17:59:53)
>> ---
>>  libavcodec/avcodec.h | 7 +++++--
>>  1 file changed, 5 insertions(+), 2 deletions(-)
>>
>> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
>> index 167525d..02f391c 100644
>> --- a/libavcodec/avcodec.h
>> +++ b/libavcodec/avcodec.h
>> @@ -5017,12 +5017,15 @@ 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_alloc(),needs to be initialized by the caller before
>
> nit: I would use "filled" instead of initialized, since the fields are
> guaranteed to be initialized to proper "invalid/unset" values, the
> callers just fills those that are known/relevant.

ok, I'll also slightly modify the title to the usual formatting

lavc: bsf: Document input/output codecparam alloc/init process
-- 
Vittorio
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to