Mercurial > libavcodec.hg
diff dvdsubdec.c @ 5941:d030978bcd93 libavcodec
remove some empty close/init functions in avcodec
patch by Alex
author | aurel |
---|---|
date | Sun, 25 Nov 2007 17:31:55 +0000 |
parents | 392483301260 |
children | dfdff1ca78a7 |
line wrap: on
line diff
--- a/dvdsubdec.c Sun Nov 25 16:32:47 2007 +0000 +++ b/dvdsubdec.c Sun Nov 25 17:31:55 2007 +0000 @@ -42,11 +42,6 @@ } } -static int dvdsub_init_decoder(AVCodecContext *avctx) -{ - return 0; -} - static int decode_run_2bit(GetBitContext *gb, int *color) { unsigned int v, t; @@ -443,11 +438,6 @@ return 1; } -static int dvdsub_close_decoder(AVCodecContext *avctx) -{ - return 0; -} - #ifdef DEBUG #undef fprintf static void ppm_save(const char *filename, uint8_t *bitmap, int w, int h, @@ -512,8 +502,8 @@ CODEC_TYPE_SUBTITLE, CODEC_ID_DVD_SUBTITLE, 0, - dvdsub_init_decoder, + NULL, NULL, - dvdsub_close_decoder, + NULL, dvdsub_decode, };