mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
f2e0276ce4
commit
171a1df6eb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue