diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-11-25 17:31:55 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-11-25 17:31:55 +0000 |
commit | 28e7453c11c05f8bab3a8fa8feb7011e29274136 (patch) | |
tree | 84e435a63d5afe37f26c151e3154f0105b9b7e84 /libavcodec/dvdsubenc.c | |
parent | 725d86bfd52fdecb4d24fc6c62201064071f4c82 (diff) | |
download | ffmpeg-28e7453c11c05f8bab3a8fa8feb7011e29274136.tar.gz |
remove some empty close/init functions in avcodec
patch by Alex
Originally committed as revision 11093 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dvdsubenc.c')
-rw-r--r-- | libavcodec/dvdsubenc.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/libavcodec/dvdsubenc.c b/libavcodec/dvdsubenc.c index 0dc5308eff..77ea88c96c 100644 --- a/libavcodec/dvdsubenc.c +++ b/libavcodec/dvdsubenc.c @@ -204,16 +204,6 @@ static int encode_dvd_subtitles(uint8_t *outbuf, int outbuf_size, return q - outbuf; } -static int dvdsub_init_encoder(AVCodecContext *avctx) -{ - return 0; -} - -static int dvdsub_close_encoder(AVCodecContext *avctx) -{ - return 0; -} - static int dvdsub_encode(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data) { @@ -230,7 +220,6 @@ AVCodec dvdsub_encoder = { CODEC_TYPE_SUBTITLE, CODEC_ID_DVD_SUBTITLE, 0, - dvdsub_init_encoder, + NULL, dvdsub_encode, - dvdsub_close_encoder, }; |