Re: [FFmpeg-devel] [PATCH] avcodec/vvc_parser: Don't store state unnecessarily

2023-06-29 Thread James Almer
On 6/29/2023 6:53 PM, Andreas Rheinhardt wrote: VVCParserContext.au_info is only used once (and in a read-only manner); but this happens immediately after au_info has been completely overwritten. Therefore one can just the src structure used to overwrite au_info directly and remove au_info. This

[FFmpeg-devel] [PATCH] avcodec/vvc_parser: Don't store state unnecessarily

2023-06-29 Thread Andreas Rheinhardt
VVCParserContext.au_info is only used once (and in a read-only manner); but this happens immediately after au_info has been completely overwritten. Therefore one can just the src structure used to overwrite au_info directly and remove au_info. This also means that the whole referencing and unrefer