diff options
Diffstat (limited to 'ztcodec_dte.c')
-rw-r--r-- | ztcodec_dte.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ztcodec_dte.c b/ztcodec_dte.c index 3cc519e..12bc93a 100644 --- a/ztcodec_dte.c +++ b/ztcodec_dte.c @@ -588,13 +588,13 @@ static void wcdte_stop_dma(struct wcdte *wc); static inline void wcdte_receiveprep(struct wcdte *wc, int dbl) { volatile unsigned char *readchunk; - struct zt_transcoder_channel *ztc; - struct zt_transcode_header *zth; - struct dte_state *st; + struct zt_transcoder_channel *ztc = NULL; + struct zt_transcode_header *zth = NULL; + struct dte_state *st = NULL; int o2,i; unsigned char rseq, rcodec; unsigned int reg, rchannel, rlen, rtp_rseq, rtp_eseq; - unsigned char *chars; + unsigned char *chars = NULL; unsigned int ztc_ndx; readchunk = (volatile unsigned char *)wc->readchunk; @@ -1045,7 +1045,6 @@ static int wcdte_boot_processor(struct wcdte *wc) reg = wcdte_getctl(wc, 0x00A0); - last_byteloc; byteloc = 0; j = 0; |