Commit c28baf06 authored by Michael Niedermayer's avatar Michael Niedermayer

fix tiff regression test (bitexact flag was ignoredwhich caused the

LAVC version to be in the file and thus breaking with the last change of that)

Originally committed as revision 8734 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1106e4ab
...@@ -402,6 +402,8 @@ static int encode_frame(AVCodecContext * avctx, unsigned char *buf, ...@@ -402,6 +402,8 @@ static int encode_frame(AVCodecContext * avctx, unsigned char *buf,
add_entry(s, TIFF_XRES, TIFF_RATIONAL, 1, res); add_entry(s, TIFF_XRES, TIFF_RATIONAL, 1, res);
add_entry(s, TIFF_YRES, TIFF_RATIONAL, 1, res); add_entry(s, TIFF_YRES, TIFF_RATIONAL, 1, res);
add_entry1(s,TIFF_RES_UNIT, TIFF_SHORT, 2); add_entry1(s,TIFF_RES_UNIT, TIFF_SHORT, 2);
if(!(avctx->flags & CODEC_FLAG_BITEXACT))
add_entry(s, TIFF_SOFTWARE_NAME, TIFF_STRING, add_entry(s, TIFF_SOFTWARE_NAME, TIFF_STRING,
strlen(LIBAVCODEC_IDENT) + 1, LIBAVCODEC_IDENT); strlen(LIBAVCODEC_IDENT) + 1, LIBAVCODEC_IDENT);
......
...@@ -53,7 +53,7 @@ c3a9f333ddebff6eae3f4360bad2de29 *./data/b-libav02.bmp ...@@ -53,7 +53,7 @@ c3a9f333ddebff6eae3f4360bad2de29 *./data/b-libav02.bmp
./data/b-libav%02d.tga CRC=0xf3a66ecf ./data/b-libav%02d.tga CRC=0xf3a66ecf
f558eef0740c4b247f1eb17e1dbf7adf *./data/b-libav02.tga f558eef0740c4b247f1eb17e1dbf7adf *./data/b-libav02.tga
./data/b-libav%02d.tiff CRC=0x25c06ecf ./data/b-libav%02d.tiff CRC=0x25c06ecf
080ebff6fd1216e391b30b484ef9b9ea *./data/b-libav02.tiff 3076b16ac0c8a39a796e69944f6a40dc *./data/b-libav02.tiff
./data/b-libav%02d.sgi CRC=0x00000001 ./data/b-libav%02d.sgi CRC=0x00000001
c6cab058a2b0a33ee843bd096b280075 *./data/b-libav02.sgi c6cab058a2b0a33ee843bd096b280075 *./data/b-libav02.sgi
./data/b-libav%02d.jpg CRC=0x62328baa ./data/b-libav%02d.jpg CRC=0x62328baa
......
...@@ -218,7 +218,7 @@ do_streamed_images() ...@@ -218,7 +218,7 @@ do_streamed_images()
do_image_formats() do_image_formats()
{ {
file=${outfile}libav%02d.$1 file=${outfile}libav%02d.$1
$ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src $2 $3 $file $ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src $2 $3 -flags +bitexact $file
do_ffmpeg_crc $file $3 -i $file do_ffmpeg_crc $file $3 -i $file
do_md5sum ${outfile}libav02.$1 >> $logfile do_md5sum ${outfile}libav02.$1 >> $logfile
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment