Commit d1b5ad39 authored by Thomas Mundt's avatar Thomas Mundt Committed by Michael Niedermayer

mxfenc: fix indentation after last commit

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a8605be3
...@@ -998,17 +998,17 @@ static void mxf_write_mpegvideo_desc(AVFormatContext *s, AVStream *st) ...@@ -998,17 +998,17 @@ static void mxf_write_mpegvideo_desc(AVFormatContext *s, AVStream *st)
int profile_and_level = (st->codec->profile<<4) | st->codec->level; int profile_and_level = (st->codec->profile<<4) | st->codec->level;
if (st->codec->codec_id != AV_CODEC_ID_H264) { if (st->codec->codec_id != AV_CODEC_ID_H264) {
mxf_write_cdci_common(s, st, mxf_mpegvideo_descriptor_key, 8+5); mxf_write_cdci_common(s, st, mxf_mpegvideo_descriptor_key, 8+5);
// bit rate // bit rate
mxf_write_local_tag(pb, 4, 0x8000); mxf_write_local_tag(pb, 4, 0x8000);
avio_wb32(pb, sc->video_bit_rate); avio_wb32(pb, sc->video_bit_rate);
// profile and level // profile and level
mxf_write_local_tag(pb, 1, 0x8007); mxf_write_local_tag(pb, 1, 0x8007);
if (!st->codec->profile) if (!st->codec->profile)
profile_and_level |= 0x80; // escape bit profile_and_level |= 0x80; // escape bit
avio_w8(pb, profile_and_level); avio_w8(pb, profile_and_level);
} else { } else {
mxf_write_cdci_common(s, st, mxf_mpegvideo_descriptor_key, 0); mxf_write_cdci_common(s, st, mxf_mpegvideo_descriptor_key, 0);
} }
......
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