summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-07-29 15:55:14 +0100
committerLuis de Bethencourt <luis@debethencourt.com>2015-07-29 15:56:42 +0100
commit171a1df6eb07af8a0422f8ab6243cce57dfd66aa (patch)
tree5549b4d12f20f2be6b0f2163a9d48eb4247ae61f
parentf2e0276ce47239f9eda21a82783a85bae5249cd8 (diff)
asfdemux: remove unread value
Init value of idx2 is never used. First usage sets it to idx + 1. Removing initial value.
-rwxr-xr-xgst/asfdemux/gstasfdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c
index 7d13ed97..a8d316ed 100755
--- a/gst/asfdemux/gstasfdemux.c
+++ b/gst/asfdemux/gstasfdemux.c
@@ -478,7 +478,7 @@ gst_asf_demux_seek_index_lookup (GstASFDemux * demux, guint * packet,
if (next) {
/* if we want the next keyframe, we have to go forward till we find
a different packet number */
- guint idx2 = idx;
+ guint idx2;
if (idx >= demux->sidx_num_entries - 1) {
/* If we get here, we're asking for next keyframe after the last one. There isn't one. */
if (eos)