aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/vsynth/vsynth_lena-jpeg2000
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-06-29 23:29:18 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-06-30 00:00:57 +0200
commit0009cbe11d0a57da447ad9234c57f98701e8553b (patch)
tree55ca1a2a46c5c52a6372e1965d0b19b10ca2cb21 /tests/ref/vsynth/vsynth_lena-jpeg2000
parent6caf5642c88252c7a80d6bc25c0b5d11646c09c2 (diff)
downloadffmpeg-0009cbe11d0a57da447ad9234c57f98701e8553b.tar.gz
avcodec/vvc_parser: Don't store state unnecessarily
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 unreferncing of au_info (which duplicates AVBufferRefs CodedBitstreamH266Context and is therefore of dubious gain) can be removed, as can the AVBufferRef* contained in PuInfo; this also removes a certain uglyness: Sometimes these AVBufferRef* were ownership pointers and sometimes not. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/ref/vsynth/vsynth_lena-jpeg2000')
0 files changed, 0 insertions, 0 deletions