mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
qtmux: fix flags_as_uint to flags[]
This commit is contained in:
parent
d96defb164
commit
1adfafbe2c
1 changed files with 2 additions and 2 deletions
|
@ -1098,8 +1098,8 @@ atom_tag_new (guint32 fourcc, guint32 flags_as_uint)
|
|||
tag->header.type = fourcc;
|
||||
atom_tag_data_init (&tag->data);
|
||||
tag->data.header.flags[2] = flags_as_uint & 0xFF;
|
||||
tag->data.header.flags[1] = flags_as_uint & 0xFF00;
|
||||
tag->data.header.flags[0] = flags_as_uint & 0xFF0000;
|
||||
tag->data.header.flags[1] = (flags_as_uint & 0xFF00) >> 8;
|
||||
tag->data.header.flags[0] = (flags_as_uint & 0xFF0000) >> 16;
|
||||
return tag;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue