comparison ra288.c @ 7168:c2691f22708b libavcodec

Remove useless initialization
author vitor
date Mon, 30 Jun 2008 16:54:49 +0000
parents 9b93a3cf6440
children f12513065d85
comparison
equal deleted inserted replaced
7167:9b93a3cf6440 7168:c2691f22708b
32 float st1a[111], st1b[37], st1[37]; 32 float st1a[111], st1b[37], st1[37];
33 float st2a[38], st2b[11], st2[11]; 33 float st2a[38], st2b[11], st2[11];
34 float sb[41]; 34 float sb[41];
35 float lhist[10]; 35 float lhist[10];
36 } Real288_internal; 36 } Real288_internal;
37
38 static int ra288_decode_init(AVCodecContext * avctx)
39 {
40 Real288_internal *glob = avctx->priv_data;
41 memset(glob, 0, sizeof(Real288_internal));
42 return 0;
43 }
44 37
45 static void prodsum(float *tgt, float *src, int len, int n); 38 static void prodsum(float *tgt, float *src, int len, int n);
46 static void co(int n, int i, int j, float *in, float *out, float *st1, float *st2, const float *table); 39 static void co(int n, int i, int j, float *in, float *out, float *st1, float *st2, const float *table);
47 static int pred(float *in, float *tgt, int n); 40 static int pred(float *in, float *tgt, int n);
48 static void colmult(float *tgt, float *m1, const float *m2, int n); 41 static void colmult(float *tgt, float *m1, const float *m2, int n);
291 { 284 {
292 "real_288", 285 "real_288",
293 CODEC_TYPE_AUDIO, 286 CODEC_TYPE_AUDIO,
294 CODEC_ID_RA_288, 287 CODEC_ID_RA_288,
295 sizeof(Real288_internal), 288 sizeof(Real288_internal),
296 ra288_decode_init, 289 NULL,
297 NULL, 290 NULL,
298 NULL, 291 NULL,
299 ra288_decode_frame, 292 ra288_decode_frame,
300 .long_name = NULL_IF_CONFIG_SMALL("RealAudio 2.0 (28.8K)"), 293 .long_name = NULL_IF_CONFIG_SMALL("RealAudio 2.0 (28.8K)"),
301 }; 294 };