changeset 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 add7658c15ec
children ba6fd4b884b6
files tiffenc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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);