[FFmpeg-cvslog] fate: hot fix for gif failure.

Clément Bœsch git at videolan.org
Thu Apr 18 01:44:27 CEST 2013


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Thu Apr 18 01:41:23 2013 +0200| [32cc7ba8a70a630a3e531195a6612888bc982ddb] | committer: Clément Bœsch

fate: hot fix for gif failure.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=32cc7ba8a70a630a3e531195a6612888bc982ddb
---

 tests/lavf-regression.sh |    6 +++++-
 tests/ref/lavf/gif       |   42 +++++++++++++++++++++---------------------
 2 files changed, 26 insertions(+), 22 deletions(-)

diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index 1bfdd1e..1393909 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -49,7 +49,11 @@ do_image_formats()
 {
     outfile="$datadir/images/$1/"
     mkdir -p "$outfile"
-    file=${outfile}%02d.$1
+    if [ "$1" = "gif" ]; then
+        file=${outfile}02.$1
+    else
+        file=${outfile}%02d.$1
+    fi
     run_avconv $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $2 $ENC_OPTS -t 0.5 -y -qscale 10 $target_path/$file
     do_md5sum ${outfile}02.$1
     do_avconv_crc $file $DEC_OPTS -i $target_path/$file $3
diff --git a/tests/ref/lavf/gif b/tests/ref/lavf/gif
index 6031ce0..f46a651 100644
--- a/tests/ref/lavf/gif
+++ b/tests/ref/lavf/gif
@@ -1,24 +1,24 @@
 66398be6fafa026fb0fa5f2978fa3446 *./tests/data/lavf/lavf.gif
 2011766 ./tests/data/lavf/lavf.gif
 ./tests/data/lavf/lavf.gif CRC=0x0d96deb8
-022dc66b5068404e88c618ce79d9eb5f *./tests/data/images/gif/02.gif
-./tests/data/images/gif/%02d.gif CRC=0x51811243
-81538 ./tests/data/images/gif/02.gif
-022dc66b5068404e88c618ce79d9eb5f *./tests/data/images/gif/02.gif
-./tests/data/images/gif/%02d.gif CRC=0x006183fd
-81538 ./tests/data/images/gif/02.gif
-022dc66b5068404e88c618ce79d9eb5f *./tests/data/images/gif/02.gif
-./tests/data/images/gif/%02d.gif CRC=0x006183fd
-81538 ./tests/data/images/gif/02.gif
-022dc66b5068404e88c618ce79d9eb5f *./tests/data/images/gif/02.gif
-./tests/data/images/gif/%02d.gif CRC=0x51811243
-81538 ./tests/data/images/gif/02.gif
-022dc66b5068404e88c618ce79d9eb5f *./tests/data/images/gif/02.gif
-./tests/data/images/gif/%02d.gif CRC=0x51811243
-81538 ./tests/data/images/gif/02.gif
-022dc66b5068404e88c618ce79d9eb5f *./tests/data/images/gif/02.gif
-./tests/data/images/gif/%02d.gif CRC=0xd742fb02
-81538 ./tests/data/images/gif/02.gif
-022dc66b5068404e88c618ce79d9eb5f *./tests/data/images/gif/02.gif
-./tests/data/images/gif/%02d.gif CRC=0x51811243
-81538 ./tests/data/images/gif/02.gif
+8d76374306a3f79bc1114affeb0365b9 *./tests/data/images/gif/02.gif
+./tests/data/images/gif/02.gif CRC=0x51811243
+1047862 ./tests/data/images/gif/02.gif
+02350bb3d28d48019073ff91134a9598 *./tests/data/images/gif/02.gif
+./tests/data/images/gif/02.gif CRC=0x006183fd
+488742 ./tests/data/images/gif/02.gif
+49b1a02636079b8de0d39fa71cf726d5 *./tests/data/images/gif/02.gif
+./tests/data/images/gif/02.gif CRC=0x006183fd
+488742 ./tests/data/images/gif/02.gif
+6cc813a16fb3852884b93fe4d936d3cc *./tests/data/images/gif/02.gif
+./tests/data/images/gif/02.gif CRC=0x51811243
+1047862 ./tests/data/images/gif/02.gif
+8d76374306a3f79bc1114affeb0365b9 *./tests/data/images/gif/02.gif
+./tests/data/images/gif/02.gif CRC=0x51811243
+1047862 ./tests/data/images/gif/02.gif
+9e8812f67441c3fdad01384e8983ddfc *./tests/data/images/gif/02.gif
+./tests/data/images/gif/02.gif CRC=0xd742fb02
+810442 ./tests/data/images/gif/02.gif
+6bf983516596bd5338e225dbe6765fdb *./tests/data/images/gif/02.gif
+./tests/data/images/gif/02.gif CRC=0x51811243
+1057078 ./tests/data/images/gif/02.gif



More information about the ffmpeg-cvslog mailing list