[FFmpeg-devel] [PATCH v3] fate: add api-h264-slice test
Michael Niedermayer
michael at niedermayer.cc
Sat Oct 13 21:10:29 EEST 2018
On Fri, Oct 12, 2018 at 02:35:04PM +0100, joshdk at ob-encoder.com wrote:
> From: Josh de Kock <joshdk at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181013/da7c9d38/attachment.sig>
More information about the ffmpeg-devel
mailing list