Mercurial > libavcodec.hg
diff dvbsub.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 | dfa6e7fa2bac |
children | 5b3acf9fd50a |
line wrap: on
line diff
--- a/dvbsub.c Sun Nov 25 16:32:47 2007 +0000 +++ b/dvbsub.c Sun Nov 25 17:31:55 2007 +0000 @@ -390,16 +390,6 @@ return q - outbuf; } -static int dvbsub_init_decoder(AVCodecContext *avctx) -{ - return 0; -} - -static int dvbsub_close_decoder(AVCodecContext *avctx) -{ - return 0; -} - static int dvbsub_encode(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data) { @@ -416,7 +406,6 @@ CODEC_TYPE_SUBTITLE, CODEC_ID_DVB_SUBTITLE, sizeof(DVBSubtitleContext), - dvbsub_init_decoder, + NULL, dvbsub_encode, - dvbsub_close_decoder, };