From 6b7675e4a27df9993df0c04d81bf8cd92804fa35 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Thu, 31 Dec 2015 16:00:49 -0800 Subject: [PATCH] flacparse: drop unneeded braces at _parse_frame() exit Additionally, drop redundant comment & line break --- gst/audioparsers/gstflacparse.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gst/audioparsers/gstflacparse.c b/gst/audioparsers/gstflacparse.c index 3fe40a2..9c328c0 100644 --- a/gst/audioparsers/gstflacparse.c +++ b/gst/audioparsers/gstflacparse.c @@ -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 -- 2.7.4