summaryrefslogtreecommitdiff
path: root/src/fruits
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-09-08 18:36:05 -0400
committerAndrew Opalach <andrew@akon.city> 2025-09-08 18:36:05 -0400
commitf5038bc66041ba8a721cedb125cddc342a9a9e4b (patch)
treeefc1340642778b2481dd356038f74e159360b046 /src/fruits
parentac3fd1a688202375612e905da9ee63bd6cd36a6f (diff)
downloadcamu-f5038bc66041ba8a721cedb125cddc342a9a9e4b.tar.gz
camu-f5038bc66041ba8a721cedb125cddc342a9a9e4b.tar.bz2
camu-f5038bc66041ba8a721cedb125cddc342a9a9e4b.zip
Fix FFmpeg decoder/demuxer deinit, misc cleanup
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/fruits')
-rw-r--r--src/fruits/cmsrv/ui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fruits/cmsrv/ui.c b/src/fruits/cmsrv/ui.c
index 1dd5fa2..e8fbc41 100644
--- a/src/fruits/cmsrv/ui.c
+++ b/src/fruits/cmsrv/ui.c
@@ -118,6 +118,7 @@ static void erase_lists(struct cmsrv_ui *ui)
if (n) ncplane_erase(n);
}
+#ifdef CAMU_HAVE_PORTAL
static void putnwstr_maxwidth_yx(struct ncplane *n, u32 y, u32 x, u32 maxwidth, wstr *w)
{
ncplane_cursor_move_yx(n, y, x);
@@ -126,6 +127,7 @@ static void putnwstr_maxwidth_yx(struct ncplane *n, u32 y, u32 x, u32 maxwidth,
ncplane_putwc(n, al_wstr_at(w, i));
}
}
+#endif
static void render_lists(struct cmsrv_ui *ui)
{