From a5b7c12e352ab6abc4a86ad03772b33a50da27bc Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Wed, 16 Apr 2014 16:45:08 +0100 Subject: [PATCH] isomp4: fix wrong atom flags set when adding samples Coverity 206057 --- gst/isomp4/atoms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/isomp4/atoms.c b/gst/isomp4/atoms.c index 6f99a6d..3f1051c 100644 --- a/gst/isomp4/atoms.c +++ b/gst/isomp4/atoms.c @@ -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; -- 2.7.4