Mercurial > libavcodec.hg
diff mjpeg.c @ 676:c3bdb00a98a9 libavcodec
dont store version for bit-exact tests
author | michaelni |
---|---|
date | Sat, 14 Sep 2002 22:07:35 +0000 |
parents | 8c9edc20599a |
children | e65798d228ea |
line wrap: on
line diff
--- a/mjpeg.c Sat Sep 14 19:00:09 2002 +0000 +++ b/mjpeg.c Sat Sep 14 22:07:35 2002 +0000 @@ -390,16 +390,18 @@ } /* 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)