isomp4: fix wrong atom flags set when adding samples
Coverity 206057
This commit is contained in:
parent
d2b682c271
commit
a5b7c12e35
@ -3899,7 +3899,7 @@ atom_trun_add_samples (AtomTRUN * trun, guint32 delta, guint32 size,
|
|||||||
TRUNSampleEntry nentry;
|
TRUNSampleEntry nentry;
|
||||||
|
|
||||||
if (pts_offset != 0)
|
if (pts_offset != 0)
|
||||||
trun->header.flags[1] |= TR_COMPOSITION_TIME_OFFSETS;
|
trun->header.flags[1] |= (TR_COMPOSITION_TIME_OFFSETS >> 8);
|
||||||
|
|
||||||
nentry.sample_duration = delta;
|
nentry.sample_duration = delta;
|
||||||
nentry.sample_size = size;
|
nentry.sample_size = size;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user