On Fri, Oct 12, 2018 at 02:35:04PM +0100, jos...@ob-encoder.com wrote: > From: Josh de Kock <jos...@obe.tv> > > This test ensures that you are able to send N number of slice NALUs in slice > threaded mode to be decoded simultaneously > --- > > Ignore the previous patch, had some dead code in it. This now > works in MinGW as well. > > tests/api/Makefile | 1 + > tests/api/api-h264-slice-test.c | 207 +++++++++++++++++++++ > tests/fate/api.mak | 4 + > tests/ref/fate/api-h264-slice | 309 ++++++++++++++++++++++++++++++++ > 4 files changed, 521 insertions(+) > create mode 100644 tests/api/api-h264-slice-test.c > create mode 100644 tests/ref/fate/api-h264-slice
fails to build on linux make -j12 fate-api-h264-slice ... tests/api/api-h264-slice-test.c: In function ‘main’: tests/api/api-h264-slice-test.c:125:5: error: implicit declaration of function ‘setmode’ [-Werror=implicit-function-declaration] setmode(fileno(stdout), O_BINARY); ^ tests/api/api-h264-slice-test.c:125:29: error: ‘O_BINARY’ undeclared (first use in this function) setmode(fileno(stdout), O_BINARY); ^ tests/api/api-h264-slice-test.c:125:29: note: each undeclared identifier is reported only once for each function it appears in cc1: some warnings being treated as errors make: *** [tests/api/api-h264-slice-test.o] Error 1 make: *** Waiting for unfinished jobs.... [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Concerning the gods, I have no means of knowing whether they exist or not or of what sort they may be, because of the obscurity of the subject, and the brevity of human life -- Protagoras
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel