Commit 872c0bcd authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'e7d20f12'

* commit 'e7d20f12':
  movenc: Remove a now redundant check
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 2893d1b3 e7d20f12
...@@ -3201,7 +3201,7 @@ static int mov_write_trun_tag(AVIOContext *pb, MOVMuxContext *mov, ...@@ -3201,7 +3201,7 @@ static int mov_write_trun_tag(AVIOContext *pb, MOVMuxContext *mov,
avio_wb32(pb, track->entry); /* sample count */ avio_wb32(pb, track->entry); /* sample count */
if (mov->flags & FF_MOV_FLAG_OMIT_TFHD_OFFSET && if (mov->flags & FF_MOV_FLAG_OMIT_TFHD_OFFSET &&
!(mov->flags & (FF_MOV_FLAG_SEPARATE_MOOF | FF_MOV_FLAG_DEFAULT_BASE_MOOF)) && !(mov->flags & FF_MOV_FLAG_DEFAULT_BASE_MOOF) &&
!mov->first_trun) !mov->first_trun)
avio_wb32(pb, 0); /* Later tracks follow immediately after the previous one */ avio_wb32(pb, 0); /* Later tracks follow immediately after the previous one */
else else
......
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