diff dvdsubenc.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 50093e0b6b54
children 5b3acf9fd50a
line wrap: on
line diff
--- a/dvdsubenc.c	Sun Nov 25 16:32:47 2007 +0000
+++ b/dvdsubenc.c	Sun Nov 25 17:31:55 2007 +0000
@@ -204,16 +204,6 @@
     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 @@
     CODEC_TYPE_SUBTITLE,
     CODEC_ID_DVD_SUBTITLE,
     0,
-    dvdsub_init_encoder,
+    NULL,
     dvdsub_encode,
-    dvdsub_close_encoder,
 };