mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
riff: fix indentation messup from previous commit
This commit is contained in:
parent
f653aa8c85
commit
1fee60277d
1 changed files with 19 additions and 19 deletions
|
@ -882,7 +882,7 @@ gst_riff_parse_ncdt (GstElement * element,
|
|||
|
||||
/* find out the type of metadata */
|
||||
switch (tag) {
|
||||
case GST_RIFF_LIST_nctg:{
|
||||
case GST_RIFF_LIST_nctg:
|
||||
while (tsize > 4) {
|
||||
guint16 sub_tag = GST_READ_UINT16_LE (ptr);
|
||||
guint16 sub_size = GST_READ_UINT16_LE (ptr + 2);
|
||||
|
@ -933,26 +933,26 @@ gst_riff_parse_ncdt (GstElement * element,
|
|||
"Unknown ncdt (metadata) tag entry %" GST_FOURCC_FORMAT,
|
||||
GST_FOURCC_ARGS (tag));
|
||||
break;
|
||||
}
|
||||
|
||||
if (tsize & 1) {
|
||||
tsize++;
|
||||
if (tsize > left)
|
||||
tsize = left;
|
||||
}
|
||||
|
||||
ptr += tsize;
|
||||
left -= tsize;
|
||||
}
|
||||
|
||||
if (!gst_tag_list_is_empty (taglist)) {
|
||||
GST_INFO_OBJECT (element, "extracted tags: %" GST_PTR_FORMAT, taglist);
|
||||
*_taglist = taglist;
|
||||
} else {
|
||||
*_taglist = NULL;
|
||||
gst_tag_list_unref (taglist);
|
||||
if (tsize & 1) {
|
||||
tsize++;
|
||||
if (tsize > left)
|
||||
tsize = left;
|
||||
}
|
||||
gst_buffer_unmap (buf, &info);
|
||||
|
||||
return;
|
||||
ptr += tsize;
|
||||
left -= tsize;
|
||||
}
|
||||
|
||||
if (!gst_tag_list_is_empty (taglist)) {
|
||||
GST_INFO_OBJECT (element, "extracted tags: %" GST_PTR_FORMAT, taglist);
|
||||
*_taglist = taglist;
|
||||
} else {
|
||||
*_taglist = NULL;
|
||||
gst_tag_list_unref (taglist);
|
||||
}
|
||||
gst_buffer_unmap (buf, &info);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue