isomp4: fix wrong atom flags set when adding samples

Coverity 206057
This commit is contained in:
Vincent Penquerc'h 2014-04-16 16:45:08 +01:00
parent d2b682c271
commit a5b7c12e35

View file

@ -3899,7 +3899,7 @@ atom_trun_add_samples (AtomTRUN * trun, guint32 delta, guint32 size,
TRUNSampleEntry nentry;
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_size = size;