Commit 776722f3 authored by bcoudurier's avatar bcoudurier

simplify

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15060 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d22c7015
...@@ -347,11 +347,8 @@ static void mxf_write_identification(AVFormatContext *s) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment