flacparse: drop unneeded braces at _parse_frame() exit

Additionally, drop redundant comment & line break
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2015-12-31 16:00:49 -08:00
parent b6ebad0997
commit 6b7675e4a2

View file

@ -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;
}
}
static GstFlowReturn