Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavformat/vvc.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/libavformat/vvc.c b/libavformat/vvc.c
index 819ee02e2c..3821de7812 100644
--- a/libavformat/vvc.c
+++ b/libavformat/vvc.c
@@ -527,17 +527,17 @@ static int vvcc_add_nal_unit(uint8_t *nal_buf, uint32_t
nal_size,
if (vvcc->arrays[array_idx].num_nalus == 1)
vvcc->num_of_arrays++;
- if (nal_type == VVC_VPS_NUT)
- ret = vvcc_parse_vps(&gbc, vvcc);
- else if (nal_type == VVC_SPS_NUT)
- ret = vvcc_parse_sps(&gbc, vvcc);
- else if (nal_type == VVC_PPS_NUT)
- ret = vvcc_parse_pps(&gbc, vvcc);
- else if (nal_type == VVC_OPI_NUT) {
- // not yet supported
- }
- if (ret < 0)
- goto end;
+ if (nal_type == VVC_VPS_NUT)
+ ret = vvcc_parse_vps(&gbc, vvcc);
+ else if (nal_type == VVC_SPS_NUT)
+ ret = vvcc_parse_sps(&gbc, vvcc);
+ else if (nal_type == VVC_PPS_NUT)
+ ret = vvcc_parse_pps(&gbc, vvcc);
+ else if (nal_type == VVC_OPI_NUT) {
+ // not yet supported
+ }
+ if (ret < 0)
+ goto end;
end:
av_free(rbsp_buf);
--
2.40.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".