diff tiffenc.c @ 4850:9e471439d2e8 libavcodec

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)
author michael
date Sat, 14 Apr 2007 18:58:26 +0000
parents 1a8865f72b04
children 2b72f9bc4f06
line wrap: on
line diff
--- 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);