[FFmpeg-devel] [PATCH] api-h264-test: rename and expand

Michael Niedermayer michael at niedermayer.cc
Thu Aug 27 02:35:57 CEST 2015


On Thu, Aug 27, 2015 at 02:03:55AM +0300, Ludmila Glinskih wrote:
> Add support of floating point decoders. Add support of audio decoders.
> ---
>  tests/api/Makefile             |   2 +-
>  tests/api/api-decode-test.c    | 368 +++++++++++++++++++++++++++++++++++++++++
>  tests/api/api-h264-test.c      | 166 -------------------
>  tests/fate/api.mak             |  12 +-
>  tests/ref/fate/api-decode-h264 |  18 ++
>  tests/ref/fate/api-h264        |  18 --
>  6 files changed, 396 insertions(+), 188 deletions(-)
>  create mode 100644 tests/api/api-decode-test.c
>  delete mode 100644 tests/api/api-h264-test.c
>  create mode 100644 tests/ref/fate/api-decode-h264
>  delete mode 100644 tests/ref/fate/api-h264

works on big endian (mips)

but it fails on mingw+wine

stddev:15215.26 PSNR: 12.68 MAXDIFF:58456 bytes:   671232/   677599
MAXDIFF: |58456 - 0| >= 1
size: |671232 - 677599| >= 0
Test api-decode-imc failed. Look at tests/data/fate/api-decode-imc.err for details.
make: *** [fate-api-decode-imc] Error 1

It appears the file is writte in text / non binary with "linendings"
messed up.
the files match sizewise when the output is run through dos2unix
see libavformat/file.c for one of several ways to avoid this

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150827/d96af7ec/attachment.sig>


More information about the ffmpeg-devel mailing list