DFSG build: don't try to load lamepatents.gif

pull/384/head
nick black 5 years ago
parent 745e742a12
commit f452583094
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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

Loading…
Cancel
Save