aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dovi_rpu.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-07-14 15:31:30 +0200
committerNiklas Haas <git@haasn.dev>2024-08-16 11:48:02 +0200
commitf5d6eb4017a02f3170478db7d7939d291e6131b7 (patch)
tree324e250bc995bf22a16b9fa1c3db7886c08be6a7 /libavcodec/dovi_rpu.c
parentb3d33f11fa42487ccc5acda9077dfd5a8d4af9a4 (diff)
downloadffmpeg-f5d6eb4017a02f3170478db7d7939d291e6131b7.tar.gz
avcodec/dovi_rpu: move ext blocks into dedicated struct
Slightly re-organize the logic around extension blocks in order to allow expanding the state tracking in a following commit.
Diffstat (limited to 'libavcodec/dovi_rpu.c')
-rw-r--r--libavcodec/dovi_rpu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/dovi_rpu.c b/libavcodec/dovi_rpu.c
index b67978403f..5130a9598d 100644
--- a/libavcodec/dovi_rpu.c
+++ b/libavcodec/dovi_rpu.c
@@ -66,7 +66,6 @@ void ff_dovi_ctx_replace(DOVIContext *s, const DOVIContext *s0)
for (int i = 0; i <= DOVI_MAX_DM_ID; i++)
ff_refstruct_replace(&s->vdr[i], s0->vdr[i]);
ff_refstruct_replace(&s->ext_blocks, s0->ext_blocks);
- s->num_ext_blocks = s0->num_ext_blocks;
}
int ff_dovi_guess_profile_hevc(const AVDOVIRpuDataHeader *hdr)