aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-09-14 22:07:35 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-09-14 22:07:35 +0000
commit5596c60cceaee5f59ea67d71601f86c49b21d4fa (patch)
tree2ce8ef80c5be852304ab69dbaeb9b653b9d400d7 /libavcodec/h263.c
parentb7c27ee601009168f874e9367286ae6a815d13b9 (diff)
downloadffmpeg-5596c60cceaee5f59ea67d71601f86c49b21d4fa.tar.gz
dont store version for bit-exact tests
Originally committed as revision 948 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r--libavcodec/h263.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index 5ccb343181..c9a0a9d308 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -1420,14 +1420,17 @@ static void mpeg4_encode_vol_header(MpegEncContext * s)
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 */