Commit a5b7c12e authored by Vincent Penquerc'h's avatar Vincent Penquerc'h
Browse files

isomp4: fix wrong atom flags set when adding samples

Coverity 206057
parent d2b682c2
......@@ -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;
......
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