From 6ac7270839edcb8d839f2e40debbaeadf69063c5 Mon Sep 17 00:00:00 2001
From: Mikhail Burakov <mburakov@mailbox.org>
Date: Sun, 28 May 2023 19:02:50 +0200
Subject: Clean up the mess in encode2 implementation

---
 hevc.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'hevc.h')

diff --git a/hevc.h b/hevc.h
index 4f3752a..e82f32c 100644
--- a/hevc.h
+++ b/hevc.h
@@ -73,11 +73,11 @@ struct MoreSliceParamerters {
   struct NegativePics {
     uint32_t delta_poc_s0_minus1;
     bool used_by_curr_pic_s0_flag;
-  }* negative_pics;
+  } const* negative_pics;
   struct PositivePics {
     uint32_t delta_poc_s1_minus1;
     bool used_by_curr_pic_s1_flag;
-  }* positive_pics;
+  } const* positive_pics;
 };
 
 void PackVideoParameterSetNalUnit(struct Bitstream* bitstream,
-- 
cgit v1.2.3