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 /libmpdemux/stheader.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 'libmpdemux/stheader.h')
-rw-r--r-- | libmpdemux/stheader.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h index 6feefa9ef0..c93bcf8185 100644 --- a/libmpdemux/stheader.h +++ b/libmpdemux/stheader.h @@ -159,8 +159,6 @@ struct sh_audio *new_sh_audio_aid(struct demuxer *demuxer, int id, int aid); struct sh_video *new_sh_video_vid(struct demuxer *demuxer, int id, int vid); #define new_sh_sub(d, i) new_sh_sub_sid(d, i, i) struct sh_sub *new_sh_sub_sid(struct demuxer *demuxer, int id, int sid); -struct sh_sub *new_sh_sub_sid_lang(struct demuxer *demuxer, int id, int sid, - const char *lang); void free_sh_audio(struct demuxer *demuxer, int id); void free_sh_video(struct sh_video *sh); |