summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-22 17:18:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-22 20:37:12 +0200
commitd9b92980c9aa4ba1b533a59fe494f04c05ca1641 (patch)
tree03737daf0be90161714c550fdde7d88d1f83b784 /libavcodec
parenta645049bd8e9fa38860d44902fcee55867f73140 (diff)
downloadffmpeg-d9b92980c9aa4ba1b533a59fe494f04c05ca1641.tar.gz
libvorbis: only store version string if bitexact is not set.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libvorbis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c
index 54e9f134ea..ba786e8184 100644
--- a/libavcodec/libvorbis.c
+++ b/libavcodec/libvorbis.c
@@ -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))) {