diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-06-30 16:54:49 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-06-30 16:54:49 +0000 |
commit | c1fadf50129751812c1011e3e8e6a51044e9ea40 (patch) | |
tree | 39970d5d9ef9cd9f3d9709886721f7146f699ca1 /libavcodec | |
parent | eec7ade275b1d1b62069df91ee545ff6b38b54e4 (diff) | |
download | ffmpeg-c1fadf50129751812c1011e3e8e6a51044e9ea40.tar.gz |
Remove useless initialization
Originally committed as revision 14035 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ra288.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index 28959c5970..d684987462 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -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, |