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

Luca Barbato lu_zero at gentoo.org
Thu Oct 11 12:12:37 CEST 2018


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



More information about the libav-devel mailing list