comparison sp5xdec.c @ 9593:b8140a218b1d libavcodec

Remove dead assignments found by CSA
author banan
date Sun, 03 May 2009 09:32:40 +0000
parents 54bc8a2727b0
children 8d60502aead2
comparison
equal deleted inserted replaced
9592:05661d19f6d2 9593:b8140a218b1d
39 AVPacket avpkt_recoded; 39 AVPacket avpkt_recoded;
40 #if 0 40 #if 0
41 MJpegDecodeContext *s = avctx->priv_data; 41 MJpegDecodeContext *s = avctx->priv_data;
42 #endif 42 #endif
43 const int qscale = 5; 43 const int qscale = 5;
44 const uint8_t *buf_ptr, *buf_end; 44 const uint8_t *buf_ptr;
45 uint8_t *recoded; 45 uint8_t *recoded;
46 int i = 0, j = 0; 46 int i = 0, j = 0;
47 47
48 if (!avctx->width || !avctx->height) 48 if (!avctx->width || !avctx->height)
49 return -1; 49 return -1;
50 50
51 buf_ptr = buf; 51 buf_ptr = buf;
52 buf_end = buf + buf_size;
53 52
54 #if 1 53 #if 1
55 recoded = av_mallocz(buf_size + 1024); 54 recoded = av_mallocz(buf_size + 1024);
56 if (!recoded) 55 if (!recoded)
57 return -1; 56 return -1;