From 0767a237ad6ceecf8cadc072f88bc87ebbe7c2bd Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Fri, 27 Nov 2015 18:46:56 +0000 Subject: [PATCH] opusparse: remove unneeded statement commit da5c41930c4083979b1745f4d8848d97fe03d8eb removed the two uses of the new value of data: channels = opus_packet_get_nb_channels (data); bandwidth = opus_packet_get_bandwidth (data); Since then, data isn't being used between incrementing it by packet_offset and going out of scope. Removing this uneeded statement. --- ext/opus/gstopusparse.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/opus/gstopusparse.c b/ext/opus/gstopusparse.c index 1561151c3e..a87ff31280 100644 --- a/ext/opus/gstopusparse.c +++ b/ext/opus/gstopusparse.c @@ -200,7 +200,6 @@ gst_opus_parse_handle_frame (GstBaseParse * base, } packet_offset = 8; - data += packet_offset; /* for ad hoc framing, heed the framing, so we eat any padding */ payload_offset = packet_size;