shithub: dav1d

Download patch

ref: e04227c5f6729b460e0b8e5fb52eae2d5acd15ef
parent: efd9e5518e0ed5114f8b4579debd7ee6dbede21f
author: Jan Beich <jbeich@FreeBSD.org>
date: Fri Mar 6 06:16:13 EST 2020

examples: chase cacc8e350c40

../examples/dav1dplay.c:1030:5: warning: implicit declaration of function 'init_demuxers' is invalid in C99 [-Wimplicit-function-declaration]
    init_demuxers();
    ^
/usr/bin/ld.bfd: examples/c590b3c@@dav1dplay@exe/dav1dplay.c.o: in function `decoder_thread_main':
dav1dplay.c:(.text+0x1243): undefined reference to `init_demuxers'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

--- a/examples/dav1dplay.c
+++ b/examples/dav1dplay.c
@@ -1026,9 +1026,6 @@
 
     Dav1dPlaySettings settings = rd_ctx->settings;
 
-    // Init dav1d tools demuxers
-    init_demuxers();
-
     if ((res = input_open(&in_ctx, "ivf",
                           settings.inputfile,
                           fps, &total, timebase)) < 0)