diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-04-14 18:58:26 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-04-14 18:58:26 +0000 |
commit | c28baf069de9170cf8a938a2e64d033f2b426618 (patch) | |
tree | 645f41a444cfafcdfca2f53e755e55a96ada1ca8 /libavcodec | |
parent | 1106e4abe4ee7acfd62315c004cd0f3ce603f9b1 (diff) | |
download | ffmpeg-c28baf069de9170cf8a938a2e64d033f2b426618.tar.gz |
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
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/tiffenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index d7e881dafb..72353c0bc1 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -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_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); |