Commit 7824dc51 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/movenc: workaround bug in "PathScale EKOPath(tm) Compiler Suite Version 4.0.12.1"

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent bdb136d3
...@@ -2530,7 +2530,8 @@ static int mov_write_mvhd_tag(AVIOContext *pb, MOVMuxContext *mov) ...@@ -2530,7 +2530,8 @@ static int mov_write_mvhd_tag(AVIOContext *pb, MOVMuxContext *mov)
} }
version = max_track_len < UINT32_MAX ? 0 : 1; version = max_track_len < UINT32_MAX ? 0 : 1;
(version == 1) ? avio_wb32(pb, 120) : avio_wb32(pb, 108); /* size */ avio_wb32(pb, version == 1 ? 120 : 108); /* size */
ffio_wfourcc(pb, "mvhd"); ffio_wfourcc(pb, "mvhd");
avio_w8(pb, version); avio_w8(pb, version);
avio_wb24(pb, 0); /* flags */ avio_wb24(pb, 0); /* flags */
......
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