projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
379d5df
)
baseparse: Remove unused but set variable
author
Robert Swain
<robert.swain@collabora.co.uk>
Fri, 15 Apr 2011 08:53:56 +0000
(10:53 +0200)
committer
Robert Swain
<robert.swain@collabora.co.uk>
Fri, 15 Apr 2011 08:53:56 +0000
(10:53 +0200)
GCC 4.6.0 spits warnings about these.
libs/gst/base/gstbaseparse.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbaseparse.c
b/libs/gst/base/gstbaseparse.c
index
cb3b3c6
..
cc06dd8
100644
(file)
--- a/
libs/gst/base/gstbaseparse.c
+++ b/
libs/gst/base/gstbaseparse.c
@@
-1216,14
+1216,11
@@
gst_base_parse_update_bitrates (GstBaseParse * parse, GstBaseParseFrame * frame)
/* Only update the tag on a 10 kbps delta */
static const gint update_threshold = 10000;
- GstBaseParseClass *klass;
guint64 data_len, frame_dur;
gint overhead, frame_bitrate, old_avg_bitrate;
gboolean update_min = FALSE, update_avg = FALSE, update_max = FALSE;
GstBuffer *buffer = frame->buffer;
- klass = GST_BASE_PARSE_GET_CLASS (parse);
-
overhead = frame->overhead;
if (overhead == -1)
return;