mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
flacparse: drop unneeded braces at _parse_frame() exit
Additionally, drop redundant comment & line break
This commit is contained in:
parent
b6ebad0997
commit
6b7675e4a2
1 changed files with 3 additions and 7 deletions
|
@ -1684,16 +1684,12 @@ gst_flac_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame,
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
gst_buffer_unmap (buffer, &map);
|
gst_buffer_unmap (buffer, &map);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
/* ERRORS */
|
|
||||||
header_parsing_error:
|
header_parsing_error:
|
||||||
{
|
GST_ELEMENT_ERROR (flacparse, STREAM, DECODE, (NULL),
|
||||||
GST_ELEMENT_ERROR (flacparse, STREAM, DECODE, (NULL),
|
("Failed to parse headers"));
|
||||||
("Failed to parse headers"));
|
goto cleanup;
|
||||||
goto cleanup;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
|
|
Loading…
Reference in a new issue