diff options
author | aurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-13 00:01:31 +0000 |
---|---|---|
committer | aurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-13 00:01:31 +0000 |
commit | 03e568867efbc2c7dab528005ed32af0c25fe000 (patch) | |
tree | 7444d5c4a217ac86f19f6dc128ff0fb12a929edb /libmpdemux/demuxer.h | |
parent | f88bf0c7b7faf4b6f58c8b4c9c0f3892e07dc5ba (diff) | |
download | mpv-03e568867efbc2c7dab528005ed32af0c25fe000.tar.bz2 mpv-03e568867efbc2c7dab528005ed32af0c25fe000.tar.xz |
demux_lavf: fix mp_seek behavior in case of seeking error
When trying to seek past the end of file, the ByteIOContext expect
that the stream is left in the same state as it was before the
tentative seek. stream_seek() does not meet this expectation.
It changes current position when seeking past the end of file.
Thus, it is necessary to reset the stream to its previous state
after a seek failure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27459 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demuxer.h')
0 files changed, 0 insertions, 0 deletions