]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Remove useless initialization
authorvitor <vitor@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 30 Jun 2008 16:54:49 +0000 (16:54 +0000)
committervitor <vitor@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 30 Jun 2008 16:54:49 +0000 (16:54 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14035 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/ra288.c

index 28959c59701522f3468ff5095989209b089c7453..d68498746275c78625e9a490f8f1b44ea04d6406 100644 (file)
@@ -35,13 +35,6 @@ typedef struct {
     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 @@ AVCodec ra_288_decoder =
     CODEC_TYPE_AUDIO,
     CODEC_ID_RA_288,
     sizeof(Real288_internal),
-    ra288_decode_init,
+    NULL,
     NULL,
     NULL,
     ra288_decode_frame,