[libav-devel] [PATCH 6/9] avcodec/extract_extradata: don't uninitialize the H2645Packet on every processed packet

James Almer jamrial at gmail.com
Thu Oct 11 23:28:38 CEST 2018


On 10/11/2018 7:12 AM, Luca Barbato wrote:
> On 03/10/2018 21:15, Luca Barbato wrote:
>> From: James Almer <jamrial at gmail.com>
>>
>> Based on hevc_parser code. This prevents repeated unnecessary allocations
>> and frees on every packet processed by the bsf.
>>
>> Reviewed-by: Jun Zhao <mypopydev at gmail.com>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
>> ---
>>  libavcodec/extract_extradata_bsf.c | 33 +++++++++++++++++++--------------
>>  1 file changed, 19 insertions(+), 14 deletions(-)
> 
> I'd merge the extract_extradata improvements today, James do you see
> anything I should fold in?
> 
> lu

No, patches 1 to 6 can go in as is.


More information about the libav-devel mailing list