Mercurial > libavcodec.hg
comparison ra144.c @ 6769:c834f8d9e854 libavcodec
Remove useless memset, patch by Vitor Sessak, vitor1001 gmail com.
author | diego |
---|---|
date | Sat, 10 May 2008 16:05:12 +0000 |
parents | e14c77547f93 |
children | 7613bea3ee92 |
comparison
equal
deleted
inserted
replaced
6768:e14c77547f93 | 6769:c834f8d9e854 |
---|---|
76 | 76 |
77 static int ra144_decode_init(AVCodecContext * avctx) | 77 static int ra144_decode_init(AVCodecContext * avctx) |
78 { | 78 { |
79 Real144_internal *glob = avctx->priv_data; | 79 Real144_internal *glob = avctx->priv_data; |
80 | 80 |
81 memset(glob, 0, sizeof(Real144_internal)); | |
82 glob->resetflag = 1; | 81 glob->resetflag = 1; |
83 glob->swapbuf1 = glob->swapb1a; | 82 glob->swapbuf1 = glob->swapb1a; |
84 glob->swapbuf2 = glob->swapb2a; | 83 glob->swapbuf2 = glob->swapb2a; |
85 glob->swapbuf1alt = glob->swapb1b; | 84 glob->swapbuf1alt = glob->swapb1b; |
86 glob->swapbuf2alt = glob->swapb2b; | 85 glob->swapbuf2alt = glob->swapb2b; |