summaryrefslogtreecommitdiffstats
path: root/stream/stream.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-07 20:49:15 +0200
committerwm4 <wm4@nowhere>2013-07-07 21:10:44 +0200
commitc4f83ac6e93ec9ff2fe97b3f5c6fccc9751fa3e2 (patch)
tree31ae282e119a8de906997afb6ab4d6b5f3ea264d /stream/stream.h
parentdbf2a6f7d0a9ae09bac024cf3ad4e7b27d303cb6 (diff)
downloadmpv-c4f83ac6e93ec9ff2fe97b3f5c6fccc9751fa3e2.tar.bz2
mpv-c4f83ac6e93ec9ff2fe97b3f5c6fccc9751fa3e2.tar.xz
stream: remove weird STREAMTYPE_STREAM special handling
This was an old leftover from an earlier cleanup (which happened in 2003), and which used "special" stuff for streams that could be only forward-seeked. Also, don't add mode flags to s->flags; they're supposed to be in s->mode instead.
Diffstat (limited to 'stream/stream.h')
-rw-r--r--stream/stream.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/stream/stream.h b/stream/stream.h
index 98de2f4814..149618ccd6 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -37,7 +37,6 @@
#define STREAMTYPE_DUMMY -1 // for placeholders, when the actual reading is handled in the demuxer
#define STREAMTYPE_FILE 0 // read from seekable file
#define STREAMTYPE_VCD 1 // raw mode-2 CDROM reading, 2324 bytes/sector
-#define STREAMTYPE_STREAM 2 // same as FILE but no seeking (for net/stdin)
#define STREAMTYPE_DVD 3 // libdvdread
#define STREAMTYPE_MEMORY 4
#define STREAMTYPE_PLAYLIST 6 // FIXME!!! same as STREAMTYPE_FILE now