summaryrefslogtreecommitdiffstats
path: root/stream/stream_memory.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-22 18:21:32 +0200
committerwm4 <wm4@nowhere>2013-08-22 18:33:19 +0200
commita790f2133bb785e0c48a7c6cdc730c8b7e8287fb (patch)
treee9b4956bc63f8e8f4afd266cdf0b3a09d44c928a /stream/stream_memory.c
parent28eac7dfb3a1cd67e3349f46c34a9a32465f6e55 (diff)
downloadmpv-a790f2133bb785e0c48a7c6cdc730c8b7e8287fb.tar.bz2
mpv-a790f2133bb785e0c48a7c6cdc730c8b7e8287fb.tar.xz
stream: move file forward skipping to common stream implementation
stream_file.c contains some code meant for forward seeking with pipes. This simply reads data until the seek position is reached. Move this code to stream.c. This stops stream_file from doing strange things (messing with stream internals), and removes the code duplication too. We also make stream_seek_long() use the new skip code. This is shorter and much easier to follow than the old code, which basically did strange things.
Diffstat (limited to 'stream/stream_memory.c')
0 files changed, 0 insertions, 0 deletions