Originally committed as revision 15060 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 17 years ago
parent 283a02c51a
commit b43952539b
  1. 7
      libavformat/mxfenc.c

@ -347,11 +347,8 @@ static void mxf_write_identification(AVFormatContext *s)
product_name_len = strlen("OP1a Muxer") * 2; product_name_len = strlen("OP1a Muxer") * 2;
length = 80 + company_name_len + product_name_len; length = 80 + company_name_len + product_name_len;
if (!(s->streams[0]->codec->flags & CODEC_FLAG_BITEXACT)) { version = s->streams[0]->codec->flags & CODEC_FLAG_BITEXACT ?
version = LIBAVFORMAT_IDENT; "0.0.0" : LIBAVFORMAT_IDENT;
} else {
version = "0.0.0";
}
length += 4 + strlen(version)*2; length += 4 + strlen(version)*2;
klv_encode_ber_length(pb, length); klv_encode_ber_length(pb, length);

Loading…
Cancel
Save