[FFmpeg-devel] Regression tests fail on MinGW
Fri May 2 11:34:59 CEST 2008
said Ramiro Polla
> Regression tests fail on MinGW since r11142. I've been procrastinating
> to find the cause for an incredible amount of time.
> The problem is that strtod() on Windows doesn't like hex strings. When
> av_get_string() was used instead of av_get_double(), it would pass hex
> strings to av_set_string() (which uses av_strtod(), which uses strtod())
> for FF_OPT_TYPE_FLAGS. So -flags +bitexact wasn't doing anything, and
> hence the tests fail.
> This should be fixed on MinGW, and I sent a message about it on .
> I haven't checked, but I assume this doesn't affect Cygwin, because it
> reimplements almost everything to be compliant.
Right, Cygwin passes your strtod() check at .
On the other hand, Cygwin fails for wmav1/wmav2:
--- /home/Inma/src/ffmpeg-13030/tests/ffmpeg.regression.ref 2008-05-02
+++ tests/data/vsynth.regression 2008-05-02 09:39:25.656250000 +0200
@@ -197,11 +197,11 @@
stddev: 33.31 PSNR:65.87 bytes:1040384
-stddev:12251.50 PSNR:14.56 bytes:1056768
-stddev:2106.00 PSNR:29.85 bytes:1048576
+stddev:12251.76 PSNR:14.56 bytes:1056768
+stddev:2105.99 PSNR:29.85 bytes:1048576
-stddev:12255.92 PSNR:14.55 bytes:1056768
-stddev:2099.31 PSNR:29.88 bytes:1048576
+stddev:12255.91 PSNR:14.55 bytes:1056768
+stddev:2099.19 PSNR:29.88 bytes:1048576
make: *** [codectest] Error 1
I believe that is due to some rounding errors (PSNR are identical),
though I must confess I never tried to find the cause as I don't use
> By the way, am I the only one running make test on MinGW and actually
> caring about the result? Doesn't anyone else that distributes builds do
> Ramiro Polla
>  http://article.gmane.org/gmane.comp.gnu.mingw.user/26356
More information about the ffmpeg-devel