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/vobsub.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/vobsub.h')
-rw-r--r-- | sub/vobsub.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sub/vobsub.h b/sub/vobsub.h index 3cef1347e5..0851e90c14 100644 --- a/sub/vobsub.h +++ b/sub/vobsub.h @@ -23,7 +23,6 @@ void *vobsub_open(const char *subname, const char *const ifo, const int force, v void vobsub_reset(void *vob); int vobsub_parse_ifo(void* this, const char *const name, unsigned int *palette, unsigned int *width, unsigned int *height, int force, int sid, char *langid); int vobsub_get_packet(void *vobhandle, float pts,void** data, int* timestamp); -int vobsub_get_next_packet(void *vobhandle, void** data, int* timestamp); void vobsub_close(void *this); unsigned int vobsub_get_indexes_count(void * /* vobhandle */); char *vobsub_get_id(void * /* vobhandle */, unsigned int /* index */); @@ -38,9 +37,6 @@ unsigned int vobsub_palette_to_yuv(unsigned int pal); /// Convert rgb value to yuv. unsigned int vobsub_rgb_to_yuv(unsigned int rgb); -void *vobsub_out_open(const char *basename, const unsigned int *palette, unsigned int orig_width, unsigned int orig_height, const char *id, unsigned int index); -void vobsub_out_output(void *me, const unsigned char *packet, int len, double pts); -void vobsub_out_close(void *me); int vobsub_set_from_lang(void *vobhandle, char **lang); void vobsub_seek(void * vobhandle, float pts); |