mirror of https://bitbucket.org/ausocean/av.git
Update prev in IndexPid.
This commit is contained in:
parent
feea069758
commit
b1e5890554
|
@ -240,6 +240,7 @@ func IndexPid(d []byte, pids ...uint16) (idx int, m map[string]string, err error
|
||||||
err = errors.Wrap(err, "PIDs not consecutive")
|
err = errors.Wrap(err, "PIDs not consecutive")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
prev = i
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue