asfdemux: remove unread value

Init value of idx2 is never used. First usage sets it to idx + 1. Removing
initial value.
This commit is contained in:
Luis de Bethencourt 2015-07-29 15:55:14 +01:00
parent f2e0276ce4
commit 171a1df6eb

View file

@ -478,7 +478,7 @@ gst_asf_demux_seek_index_lookup (GstASFDemux * demux, guint * packet,
if (next) { if (next) {
/* if we want the next keyframe, we have to go forward till we find /* if we want the next keyframe, we have to go forward till we find
a different packet number */ a different packet number */
guint idx2 = idx; guint idx2;
if (idx >= demux->sidx_num_entries - 1) { 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 we get here, we're asking for next keyframe after the last one. There isn't one. */
if (eos) if (eos)