diff options
author | wm4 <wm4@nowhere> | 2012-08-01 17:07:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-01 17:07:35 +0200 |
commit | c92538dfaa5eb7e9b2773f158cbb310545116abe (patch) | |
tree | 4b1ab99a17cbead6ff1b7bf9714642540cd66ce4 /sub/subreader.h | |
parent | 7175f178de72bb4f31cacd79b395a14beaf2f65a (diff) | |
download | mpv-c92538dfaa5eb7e9b2773f158cbb310545116abe.tar.bz2 mpv-c92538dfaa5eb7e9b2773f158cbb310545116abe.tar.xz |
Remove dead code
This was done with the help of callcatcher [1]. Only functions which
are statically known to be unused are removed.
Some unused functions are not removed yet, because they might be needed
in the near future (such as open_output_stream for the encode branch).
There is one user visible change: the --subcc option did nothing, and is
removed with this commit.
[1] http://www.skynet.ie/~caolan/Packages/callcatcher.html
Diffstat (limited to 'sub/subreader.h')
-rw-r--r-- | sub/subreader.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sub/subreader.h b/sub/subreader.h index a6d0831413..db84fdd9a8 100644 --- a/sub/subreader.h +++ b/sub/subreader.h @@ -91,12 +91,6 @@ void subcp_close (void); /* for demux_ogg.c */ const char* guess_buffer_cp(unsigned char* buffer, int buflen, const char *preferred_language, const char *fallback); const char* guess_cp(struct stream *st, const char *preferred_language, const char *fallback); #endif -void list_sub_file(sub_data* subd); -void dump_srt(sub_data* subd, float fps); -void dump_mpsub(sub_data* subd, float fps); -void dump_microdvd(sub_data* subd, float fps); -void dump_jacosub(sub_data* subd, float fps); -void dump_sami(sub_data* subd, float fps); void sub_free( sub_data * subd ); struct MPContext; void find_sub(struct MPContext *mpctx, sub_data* subd,int key); |