summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2011-02-10 12:15:21 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-02-22 15:16:41 +0200
commit5177b24b25931b83adea9de6f9c578654640346c (patch)
tree11f34377e6e2abeed39744880d6b488c406ce26b /stream
parent496b09e04dabc01048c4cb92f1610f68caabd19c (diff)
downloadmpv-5177b24b25931b83adea9de6f9c578654640346c.tar.bz2
mpv-5177b24b25931b83adea9de6f9c578654640346c.tar.xz
cleanup: demuxer.[ch]: remove unused code, make functions static
Remove some unused lines from demuxer.h. Make some demuxer.c functions static. Move new_ds_stream() declaration from demuxer.h to stream.h (the function is defined in stream.c). Clean up some code in mplayer.c that had commented-out free_demuxer_stream() calls.
Diffstat (limited to 'stream')
-rw-r--r--stream/stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/stream.h b/stream/stream.h
index cad61d3256..413e80ad91 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -341,6 +341,9 @@ stream_t *open_stream(const char *filename, struct MPOpts *options,
stream_t *open_stream_full(const char *filename,int mode,
struct MPOpts *options, int *file_format);
stream_t *open_output_stream(const char *filename, struct MPOpts *options);
+struct demux_stream;
+struct stream *new_ds_stream(struct demux_stream *ds);
+
/// Set the callback to be used by libstream to check for user
/// interruption during long blocking operations (cache filling, etc).
struct input_ctx;