diff options
author | Luis de Bethencourt <luis.bg@samsung.com> | 2014-09-25 16:04:33 +0100 |
---|---|---|
committer | Luis de Bethencourt <luis.bg@samsung.com> | 2014-09-25 16:41:15 +0100 |
commit | efca04f23fc4dc52036fd61186e8acb7d49ebe81 (patch) | |
tree | 18e9938c4becafdee5c7453ca7ba2e15c8e8b08d /gst/jp2kdecimator | |
parent | 97ed6a26684e40b99458ca11c39a8145c8a2b5eb (diff) | |
download | gstreamer-plugins-bad-efca04f23fc4dc52036fd61186e8acb7d49ebe81.tar.gz |
style: remove unnecessary break statements
Code flow never arrives to these break statements due to the gotos preceding
them. So the breaks are unnecessary, as discussed in bug 736942.
https://bugzilla.gnome.org/show_bug.cgi?id=737370
Diffstat (limited to 'gst/jp2kdecimator')
-rw-r--r-- | gst/jp2kdecimator/jp2kcodestream.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gst/jp2kdecimator/jp2kcodestream.c b/gst/jp2kdecimator/jp2kcodestream.c index 943d83734..af2c0471e 100644 --- a/gst/jp2kdecimator/jp2kcodestream.c +++ b/gst/jp2kdecimator/jp2kcodestream.c @@ -1152,22 +1152,18 @@ parse_tile (GstJP2kDecimator * self, GstByteReader * reader, GST_ERROR_OBJECT (self, "COC marker not supported yet"); ret = GST_FLOW_ERROR; goto done; - break; case MARKER_POC: GST_ERROR_OBJECT (self, "POC marker not supported yet"); ret = GST_FLOW_ERROR; goto done; - break; case MARKER_RGN: GST_ERROR_OBJECT (self, "RGN marker not supported yet"); ret = GST_FLOW_ERROR; goto done; - break; case MARKER_PPT: GST_ERROR_OBJECT (self, "PPT marker not supported yet"); ret = GST_FLOW_ERROR; goto done; - break; case MARKER_PLT:{ PacketLengthTilePart *plt = g_slice_new (PacketLengthTilePart); @@ -1521,32 +1517,26 @@ parse_main_header (GstJP2kDecimator * self, GstByteReader * reader, GST_ERROR_OBJECT (self, "POC marker not supported yet"); ret = GST_FLOW_ERROR; goto done; - break; case MARKER_COC: GST_ERROR_OBJECT (self, "COC marker not supported yet"); ret = GST_FLOW_ERROR; goto done; - break; case MARKER_RGN: GST_ERROR_OBJECT (self, "RGN marker not supported yet"); ret = GST_FLOW_ERROR; goto done; - break; case MARKER_TLM: GST_ERROR_OBJECT (self, "TLM marker not supported yet"); ret = GST_FLOW_ERROR; goto done; - break; case MARKER_PLM: GST_ERROR_OBJECT (self, "PLM marker not supported yet"); ret = GST_FLOW_ERROR; goto done; - break; case MARKER_PPM: GST_ERROR_OBJECT (self, "PPM marker not supported yet"); ret = GST_FLOW_ERROR; goto done; - break; case MARKER_QCD: if (header->qcd.data != NULL) { GST_ERROR_OBJECT (self, "Multiple QCD markers"); |