aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dvbsub.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-11-25 17:31:55 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-11-25 17:31:55 +0000
commit28e7453c11c05f8bab3a8fa8feb7011e29274136 (patch)
tree84e435a63d5afe37f26c151e3154f0105b9b7e84 /libavcodec/dvbsub.c
parent725d86bfd52fdecb4d24fc6c62201064071f4c82 (diff)
downloadffmpeg-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/dvbsub.c')
-rw-r--r--libavcodec/dvbsub.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/libavcodec/dvbsub.c b/libavcodec/dvbsub.c
index aed7d1d453..a1594edd03 100644
--- a/libavcodec/dvbsub.c
+++ b/libavcodec/dvbsub.c
@@ -390,16 +390,6 @@ static int encode_dvb_subtitles(DVBSubtitleContext *s,
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 @@ AVCodec dvbsub_encoder = {
CODEC_TYPE_SUBTITLE,
CODEC_ID_DVB_SUBTITLE,
sizeof(DVBSubtitleContext),
- dvbsub_init_decoder,
+ NULL,
dvbsub_encode,
- dvbsub_close_decoder,
};