mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +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:
|
||||
gst_buffer_unmap (buffer, &map);
|
||||
|
||||
return res;
|
||||
|
||||
/* ERRORS */
|
||||
header_parsing_error:
|
||||
{
|
||||
GST_ELEMENT_ERROR (flacparse, STREAM, DECODE, (NULL),
|
||||
("Failed to parse headers"));
|
||||
goto cleanup;
|
||||
}
|
||||
GST_ELEMENT_ERROR (flacparse, STREAM, DECODE, (NULL),
|
||||
("Failed to parse headers"));
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
static GstFlowReturn
|
||||
|
|
Loading…
Reference in a new issue