summaryrefslogtreecommitdiff
path: root/ext/opus
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2015-11-27 18:46:56 +0000
committerLuis de Bethencourt <luisbg@osg.samsung.com>2015-11-27 18:51:10 +0000
commit0767a237ad6ceecf8cadc072f88bc87ebbe7c2bd (patch)
tree85f98a0aa43750f000c9420e478f0b9fb1481743 /ext/opus
parenta7475bfc6c8d1ce560a48a2d4dfca50a697dae1a (diff)
downloadgstreamer-plugins-bad-0767a237ad6ceecf8cadc072f88bc87ebbe7c2bd.tar.gz
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.
Diffstat (limited to 'ext/opus')
-rw-r--r--ext/opus/gstopusparse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/opus/gstopusparse.c b/ext/opus/gstopusparse.c
index 1561151c3..a87ff3128 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;