From 578bf2335bf3c429fa59251c5a770eb76d2e5d1d Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 9 Jul 2024 08:22:56 -0400 Subject: [PATCH] Add const to PpopulateFrame --- src/zm_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_image.h b/src/zm_image.h index 566e2477b2..92975de4c5 100644 --- a/src/zm_image.h +++ b/src/zm_image.h @@ -207,7 +207,7 @@ class Image { const size_t buffer_size, const int p_buffertype); - int PopulateFrame(AVFrame *frame); + int PopulateFrame(AVFrame *frame) const; inline void CopyBuffer(const Image &image) { Assign(image);