diff h263.c @ 676:c3bdb00a98a9 libavcodec

dont store version for bit-exact tests
author michaelni
date Sat, 14 Sep 2002 22:07:35 +0000
parents 4490bfbb932d
children a1c69cb685b3
line wrap: on
line diff
--- a/h263.c	Sat Sep 14 19:00:09 2002 +0000
+++ b/h263.c	Sat Sep 14 22:07:35 2002 +0000
@@ -1420,14 +1420,17 @@
         put_bits(&s->pb, 1, 0);		/* reduced res vop */
     }
     put_bits(&s->pb, 1, 0);		/* scalability */
-
+    
     ff_mpeg4_stuffing(&s->pb);
-    put_bits(&s->pb, 16, 0);
-    put_bits(&s->pb, 16, 0x1B2);	/* user_data */
-    sprintf(buf, "FFmpeg%sb%s", FFMPEG_VERSION, LIBAVCODEC_BUILD_STR);
-    put_string(&s->pb, buf);
-
-    ff_mpeg4_stuffing(&s->pb);
+
+    /* user data */
+    if(!ff_bit_exact){
+        put_bits(&s->pb, 16, 0);
+        put_bits(&s->pb, 16, 0x1B2);	/* user_data */
+        sprintf(buf, "FFmpeg%sb%s", FFMPEG_VERSION, LIBAVCODEC_BUILD_STR);
+        put_string(&s->pb, buf);
+        ff_mpeg4_stuffing(&s->pb);
+    }
 }
 
 /* write mpeg4 VOP header */