dont store version for bit-exact tests

Originally committed as revision 948 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2002-09-14 22:07:35 +00:00
parent b7c27ee601
commit 5596c60cce
5 changed files with 26 additions and 16 deletions

View File

@@ -390,16 +390,18 @@ static void jpeg_put_comments(MpegEncContext *s)
}
/* comment */
put_marker(p, COM);
flush_put_bits(p);
ptr = pbBufPtr(p);
put_bits(p, 16, 0); /* patched later */
if(!ff_bit_exact){
put_marker(p, COM);
flush_put_bits(p);
ptr = pbBufPtr(p);
put_bits(p, 16, 0); /* patched later */
#define MJPEG_VERSION "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR
put_string(p, MJPEG_VERSION);
size = strlen(MJPEG_VERSION)+3;
put_string(p, MJPEG_VERSION);
size = strlen(MJPEG_VERSION)+3;
#undef MJPEG_VERSION
ptr[0] = size >> 8;
ptr[1] = size;
ptr[0] = size >> 8;
ptr[1] = size;
}
}
void mjpeg_picture_header(MpegEncContext *s)