From 90fac5e02f352059009d01755f157efc17aacf93 Mon Sep 17 00:00:00 2001
From: xlxiangli <xlxiangli@google.com>
Date: Mon, 16 Oct 2023 07:18:23 +0000
Subject: [PATCH] Fix RPR buffer

---
 source/Lib/CommonLib/Picture.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/source/Lib/CommonLib/Picture.cpp b/source/Lib/CommonLib/Picture.cpp
index dfeb9dc1d..2e713a129 100644
--- a/source/Lib/CommonLib/Picture.cpp
+++ b/source/Lib/CommonLib/Picture.cpp
@@ -196,7 +196,8 @@ void Picture::destroyTempBuffers()
   for (uint32_t t = 0; t < NUM_PIC_TYPES; t++)
   {
     if (t == PIC_RESIDUAL || t == PIC_PREDICTION
-      || t == PIC_FILTERED_ORIGINAL || t == PIC_TRUE_ORIGINAL || t == PIC_FILTERED_ORIGINAL_FG)
+      || t == PIC_FILTERED_ORIGINAL || t == PIC_TRUE_ORIGINAL || t == PIC_FILTERED_ORIGINAL_FG
+      || t == PIC_TRUE_ORIGINAL_INPUT || t == PIC_FILTERED_ORIGINAL_INPUT)
     {
       M_BUFS(0, t).destroy();
     }
-- 
GitLab