[FFmpeg-cvslog] r15060 - trunk/libavformat/mxfenc.c
bcoudurier
subversion
Sun Aug 31 00:38:59 CEST 2008
Author: bcoudurier
Date: Sun Aug 31 00:38:59 2008
New Revision: 15060
Log:
simplify
Modified:
trunk/libavformat/mxfenc.c
Modified: trunk/libavformat/mxfenc.c
==============================================================================
--- trunk/libavformat/mxfenc.c (original)
+++ trunk/libavformat/mxfenc.c Sun Aug 31 00:38:59 2008
@@ -347,11 +347,8 @@ static void mxf_write_identification(AVF
product_name_len = strlen("OP1a Muxer") * 2;
length = 80 + company_name_len + product_name_len;
- if (!(s->streams[0]->codec->flags & CODEC_FLAG_BITEXACT)) {
- version = LIBAVFORMAT_IDENT;
- } else {
- version = "0.0.0";
- }
+ version = s->streams[0]->codec->flags & CODEC_FLAG_BITEXACT ?
+ "0.0.0" : LIBAVFORMAT_IDENT;
length += 4 + strlen(version)*2;
klv_encode_ber_length(pb, length);
More information about the ffmpeg-cvslog
mailing list