Fixed seeking and skipping behavior in stream_t layer.
authorLaurent Aimar <fenrir@videolan.org>
Sat, 25 Jul 2009 22:50:24 +0000 (00:50 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 25 Jul 2009 22:54:30 +0000 (00:54 +0200)
commitfa43c1460a5a8a3c72e2fa6d422f847d816131ae
treebc7f2ff65fca49fceccc4a9ec6819f481751904d
parent670d5486d1dd100f45be7fd738b439a3388d7b5f
Fixed seeking and skipping behavior in stream_t layer.

Now seeking and skipping behave exactly the same.
It also allows forward seeking in non seekable stream by reading the data.
It closes #2994.
As it is a critical section of code, it must be carefully tested.
src/input/stream.c