mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libvorbis: only store version string if bitexact is not set.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a645049bd8
commit
d9b92980c9
@ -226,7 +226,8 @@ static av_cold int oggvorbis_encode_init(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
vorbis_comment_init(&s->vc);
|
||||
vorbis_comment_add_tag(&s->vc, "encoder", LIBAVCODEC_IDENT);
|
||||
if (!(avctx->flags & CODEC_FLAG_BITEXACT))
|
||||
vorbis_comment_add_tag(&s->vc, "encoder", LIBAVCODEC_IDENT);
|
||||
|
||||
if ((ret = vorbis_analysis_headerout(&s->vd, &s->vc, &header, &header_comm,
|
||||
&header_code))) {
|
||||
|
Loading…
Reference in New Issue
Block a user