# HG changeset patch # User michael # Date 1176577106 0 # Node ID 9e471439d2e8429f5fb0429377197c95db3d738a # Parent add7658c15ec2cfc22ce762a4ae157ec6b46345e 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) diff -r add7658c15ec -r 9e471439d2e8 tiffenc.c --- a/tiffenc.c Sat Apr 14 18:42:50 2007 +0000 +++ b/tiffenc.c Sat Apr 14 18:58:26 2007 +0000 @@ -402,6 +402,8 @@ add_entry(s, TIFF_XRES, TIFF_RATIONAL, 1, res); add_entry(s, TIFF_YRES, TIFF_RATIONAL, 1, res); add_entry1(s,TIFF_RES_UNIT, TIFF_SHORT, 2); + + if(!(avctx->flags & CODEC_FLAG_BITEXACT)) add_entry(s, TIFF_SOFTWARE_NAME, TIFF_STRING, strlen(LIBAVCODEC_IDENT) + 1, LIBAVCODEC_IDENT);