OSDN Git Service

Remove useless memset, patch by Vitor Sessak, vitor1001 gmail com.
authorVitor Sessak <vitor1001@gmail.com>
Sat, 10 May 2008 16:05:12 +0000 (16:05 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 10 May 2008 16:05:12 +0000 (16:05 +0000)
Originally committed as revision 13107 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ra144.c

index 5ce6235..8eee7dc 100644 (file)
@@ -78,7 +78,6 @@ static int ra144_decode_init(AVCodecContext * avctx)
 {
     Real144_internal *glob = avctx->priv_data;
 
-    memset(glob, 0, sizeof(Real144_internal));
     glob->resetflag   = 1;
     glob->swapbuf1    = glob->swapb1a;
     glob->swapbuf2    = glob->swapb2a;