diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-10 03:43:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-10 05:02:23 +0100 |
commit | 33a67961c8c65dcd158ef29e1e8152fe68b6f31a (patch) | |
tree | 0351b1cf2f05c542133b7e170d25ba133c67908a /libavformat | |
parent | fc1fed62d9da6f752fbfa4f27fbc1aab7f884c67 (diff) | |
download | ffmpeg-33a67961c8c65dcd158ef29e1e8152fe68b6f31a.tar.gz |
avformat/movenc: workaround bug in "PathScale EKOPath(tm) Compiler Suite Version 4.0.12.1"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 7824dc5150c0ea44ffa7cd4d57803f9a9697e7d7)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/movenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 01bc3c9535..5c72cfaf9d 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -2033,7 +2033,8 @@ static int mov_write_mvhd_tag(AVIOContext *pb, MOVMuxContext *mov) } 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"); avio_w8(pb, version); avio_wb24(pb, 0); /* flags */ |