lavc/hevcdec: do not free SliceHeader arrays in pic_arrays_free()

SliceHeader.{entry_point_offset,size,offset} are not derived from frame
size and do not need to be freed here.
This commit is contained in:
Anton Khirnov 2024-06-02 20:23:07 +02:00
parent 0455a62d84
commit 0407556716
1 changed files with 0 additions and 4 deletions

View File

@ -84,10 +84,6 @@ static void pic_arrays_free(HEVCContext *s)
av_freep(&s->horizontal_bs);
av_freep(&s->vertical_bs);
av_freep(&s->sh.entry_point_offset);
av_freep(&s->sh.size);
av_freep(&s->sh.offset);
ff_refstruct_pool_uninit(&s->tab_mvf_pool);
ff_refstruct_pool_uninit(&s->rpl_tab_pool);
}