[FFmpeg-devel] [PATCH 1/5] avcodec/hevc_ps: add a function to uninitialize parameter set buffers

James Almer jamrial at gmail.com
Sun Jan 21 06:01:36 EET 2018


On 1/20/2018 11:36 PM, Michael Niedermayer wrote:
> On Sat, Jan 20, 2018 at 06:20:53PM -0300, James Almer wrote:
>> On 1/20/2018 6:12 PM, James Almer wrote:
>>> Signed-off-by: James Almer <jamrial at gmail.com>
>>> ---
>>>  libavcodec/hevc_ps.c | 16 ++++++++++++++++
>>>  libavcodec/hevc_ps.h |  2 ++
>>>  2 files changed, 18 insertions(+)
>>>
>>> diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
>>> index a4f7ed60f7..b18457296b 100644
>>> --- a/libavcodec/hevc_ps.c
>>> +++ b/libavcodec/hevc_ps.c
>>> @@ -1704,6 +1704,22 @@ err:
>>>      return ret;
>>>  }
>>>  
>>> +void ff_hevc_uninit_parameter_sets(HEVCParamSets *ps)
>>
>> Might change this to ff_hevc_ps_uninit(), to use the naming scheme of
>> the similar h264 function.
> 
> LGTM either way

Changed and pushed, thanks.


More information about the ffmpeg-devel mailing list