diff dvdsubenc.c @ 4019:6d4ac21853d7 libavcodec

Remove empty structures, Patch by Steve LHomme Original thread: Date: 13.10.2006 21:55 Subject: [Ffmpeg-devel] [PATCH] Remove empty structures
author gpoirier
date Sat, 14 Oct 2006 14:48:45 +0000
parents c8c591fe26f8
children 6166fbf375cc
line wrap: on
line diff
--- a/dvdsubenc.c	Sat Oct 14 12:23:54 2006 +0000
+++ b/dvdsubenc.c	Sat Oct 14 14:48:45 2006 +0000
@@ -23,9 +23,6 @@
 #undef NDEBUG
 #include <assert.h>
 
-typedef struct DVDSubtitleContext {
-} DVDSubtitleContext;
-
 // ncnt is the nibble counter
 #define PUTNIBBLE(val)\
 do {\
@@ -239,7 +236,7 @@
     "dvdsub",
     CODEC_TYPE_SUBTITLE,
     CODEC_ID_DVD_SUBTITLE,
-    sizeof(DVDSubtitleContext),
+    0,
     dvdsub_init_encoder,
     dvdsub_encode,
     dvdsub_close_encoder,