[FFmpeg-devel] [PATCH]Test png encoder

Carl Eugen Hoyos cehoyos
Sun Mar 22 00:25:04 CET 2009


Hi!

Attached patch adds a regression test for the png encoder.

Please comment, Carl Eugen
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 18118)
+++ Makefile	(working copy)
@@ -215,6 +215,7 @@
         tiff                                    \
         sgi                                     \
         jpg                                     \
+        png                                     \
         wav                                     \
         alaw                                    \
         mulaw                                   \
Index: tests/libav.regression.ref
===================================================================
--- tests/libav.regression.ref	(revision 18118)
+++ tests/libav.regression.ref	(working copy)
@@ -76,6 +76,9 @@
 8dd3739ea6778335f57fb3e2a28c6453 *./tests/data/b-libav02.jpg
 ./tests/data/b-libav%02d.jpg CRC=0x2e3e4535
 31586 ./tests/data/b-libav02.jpg
+894286d5a3bea9fd424cbaa9336d3a46 *./tests/data/b-libav02.png
+./tests/data/b-libav%02d.png CRC=0x6f775c0d
+248942 ./tests/data/b-libav02.png
 b0a8c8063d81921db5d7c8f50a1cc454 *./tests/data/b-libav.wav
 89132 ./tests/data/b-libav.wav
 ./tests/data/b-libav.wav CRC=0x2a09519c
Index: tests/regression.sh
===================================================================
--- tests/regression.sh	(revision 18118)
+++ tests/regression.sh	(working copy)
@@ -605,6 +605,10 @@
 do_image_formats pcx
 fi
 
+if [ -n "$do_png" ] ; then
+do_image_formats png
+fi
+
 # audio only
 
 if [ -n "$do_wav" ] ; then



More information about the ffmpeg-devel mailing list