changeset 7168:c2691f22708b libavcodec

Remove useless initialization
author vitor
date Mon, 30 Jun 2008 16:54:49 +0000
parents 9b93a3cf6440
children f12513065d85
files ra288.c
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/ra288.c	Mon Jun 30 16:53:33 2008 +0000
+++ b/ra288.c	Mon Jun 30 16:54:49 2008 +0000
@@ -35,13 +35,6 @@
     float lhist[10];
 } Real288_internal;
 
-static int ra288_decode_init(AVCodecContext * avctx)
-{
-    Real288_internal *glob = avctx->priv_data;
-    memset(glob, 0, sizeof(Real288_internal));
-    return 0;
-}
-
 static void prodsum(float *tgt, float *src, int len, int n);
 static void co(int n, int i, int j, float *in, float *out, float *st1, float *st2, const float *table);
 static int pred(float *in, float *tgt, int n);
@@ -293,7 +286,7 @@
     CODEC_TYPE_AUDIO,
     CODEC_ID_RA_288,
     sizeof(Real288_internal),
-    ra288_decode_init,
+    NULL,
     NULL,
     NULL,
     ra288_decode_frame,