From f4525830947cf6cf2d354fc09a98daf7c25d10fa Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 22 Feb 2020 21:05:40 -0500 Subject: [PATCH] DFSG build: don't try to load lamepatents.gif --- src/demo/fallin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/demo/fallin.c b/src/demo/fallin.c index bcb32fd8d..ed7e9c1db 100644 --- a/src/demo/fallin.c +++ b/src/demo/fallin.c @@ -169,6 +169,7 @@ int fallin_demo(struct notcurses* nc){ } free(usemap); #ifdef USE_FFMPEG +#ifndef DFSG_BUILD int averr = 0; char* path = find_data("lamepatents.jpg"); struct ncvisual* ncv = ncplane_visual_open(notcurses_stdplane(nc), path, &averr); @@ -187,6 +188,9 @@ int fallin_demo(struct notcurses* nc){ assert(ncvisual_decode(ncv, &averr) == NULL); assert(averr == AVERROR_EOF); ncvisual_destroy(ncv); +#else + ncplane_erase(notcurses_stdplane(nc)); +#endif #else ncplane_erase(notcurses_stdplane(nc)); #endif