libvorbis: only store version string if bitexact is not set.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/30/merge
Michael Niedermayer 13 years ago
parent a645049bd8
commit d9b92980c9
  1. 1
      libavcodec/libvorbis.c

@ -226,6 +226,7 @@ static av_cold int oggvorbis_encode_init(AVCodecContext *avctx)
} }
vorbis_comment_init(&s->vc); vorbis_comment_init(&s->vc);
if (!(avctx->flags & CODEC_FLAG_BITEXACT))
vorbis_comment_add_tag(&s->vc, "encoder", LIBAVCODEC_IDENT); vorbis_comment_add_tag(&s->vc, "encoder", LIBAVCODEC_IDENT);
if ((ret = vorbis_analysis_headerout(&s->vd, &s->vc, &header, &header_comm, if ((ret = vorbis_analysis_headerout(&s->vd, &s->vc, &header, &header_comm,

Loading…
Cancel
Save