Mercurial > libavcodec.hg
diff h263.c @ 322:ce35fd27bbb0 libavcodec
- Versions defined for libav/libavcodec.
- Bug fix in wav muxer for MP2 audio.
- ffmpeg/libavcodec version in MPEG-4 user data.
author | pulento |
---|---|
date | Mon, 15 Apr 2002 02:28:05 +0000 |
parents | 8cf5507e6ca5 |
children | 9c6f056f0e41 |
line wrap: on
line diff
--- a/h263.c Sun Apr 14 22:17:40 2002 +0000 +++ b/h263.c Mon Apr 15 02:28:05 2002 +0000 @@ -873,7 +873,8 @@ static void mpeg4_encode_vol_header(MpegEncContext * s) { int vo_ver_id=1; //must be 2 if we want GMC or q-pel - + char buf[255]; + if(get_bit_count(&s->pb)!=0) mpeg4_stuffing(&s->pb); put_bits(&s->pb, 16, 0); put_bits(&s->pb, 16, 0x100); /* video obj */ @@ -926,7 +927,8 @@ mpeg4_stuffing(&s->pb); put_bits(&s->pb, 16, 0); put_bits(&s->pb, 16, 0x1B2); /* user_data */ - put_string(&s->pb, "ffmpeg"); //FIXME append some version ... + sprintf(buf, "FFmpeg v%s / libavcodec build: %s", FFMPEG_VERSION, LIBAVCODEC_BUILD_STR); + put_string(&s->pb, buf); s->no_rounding = 0; }