From 5177b24b25931b83adea9de6f9c578654640346c Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Thu, 10 Feb 2011 12:15:21 +0200 Subject: 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. --- stream/stream.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stream') 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; -- cgit v1.2.3