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:
parent
0455a62d84
commit
0407556716
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user