From 10c14264db73783021800f42312177a6616c7dc6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 16 Mar 2014 16:32:03 +0100 Subject: [PATCH] avformat/movenc: omit LIBAVCODEC_IDENT for bitexact mode from uuidusmt_tag This code is apparently not tested by fate Signed-off-by: Michael Niedermayer --- libavformat/movenc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index d4ff7f08c6..6c928be714 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -2408,6 +2408,7 @@ static void mov_write_psp_udta_tag(AVIOContext *pb, static int mov_write_uuidusmt_tag(AVIOContext *pb, AVFormatContext *s) { + MOVMuxContext *mov = s->priv_data; AVDictionaryEntry *title = av_dict_get(s->metadata, "title", NULL, 0); int64_t pos, pos2; @@ -2432,7 +2433,8 @@ static int mov_write_uuidusmt_tag(AVIOContext *pb, AVFormatContext *s) avio_wb16(pb, 0x0); /* ? */ avio_wb16(pb, 0x021C); /* data */ - mov_write_psp_udta_tag(pb, LIBAVCODEC_IDENT, "eng", 0x04); + if (!mov->exact) + mov_write_psp_udta_tag(pb, LIBAVCODEC_IDENT, "eng", 0x04); mov_write_psp_udta_tag(pb, title->value, "eng", 0x01); mov_write_psp_udta_tag(pb, "2006/04/01 11:11:11", "und", 0x03);