diff ws-snd1.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 05e932ddaaa9
line wrap: on
line diff
--- a/ws-snd1.c	Sat Oct 14 12:23:54 2006 +0000
+++ b/ws-snd1.c	Sat Oct 14 14:48:45 2006 +0000
@@ -29,9 +29,6 @@
  * http://www.multimedia.cx
  */
 
-typedef struct {
-} WSSNDContext;
-
 static const char ws_adpcm_2bit[] = { -2, -1, 0, 1};
 static const char ws_adpcm_4bit[] = {
     -9, -8, -6, -5, -4, -3, -2, -1,
@@ -139,7 +136,7 @@
     "ws_snd1",
     CODEC_TYPE_AUDIO,
     CODEC_ID_WESTWOOD_SND1,
-    sizeof(WSSNDContext),
+    0,
     ws_snd_decode_init,
     NULL,
     NULL,