Add example/gifplayer

This commit is contained in:
Nigel Tao committed 2018-02-18 11:47:06 +11:00
1 parent af647eb719
commit 830e82a1f6
2 files changed
+183

No files matched your search

+6
View File
@@ -20,6 +20,12 @@ $cc peterface.c && ./a.out; rm -f a.out
for a C compiler $cc, such as clang or gcc.
*/
// TODO: delete this program, as example/gifplayer is a more interesting
// example of Wuffs' GIF codec. This program's seccomp code should move
// somewhere before we delete it, though, as that's still a feature worth
// demonstrating. The gifplayer program can't use SECCOMP_MODE_STRICT, as it
// needs to sleep between animation frames.
#include <string.h>
#include <unistd.h>