OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7d6491
)
Move 'chksum' declaration to the only block where that variable is used
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Thu, 11 Feb 2010 07:59:24 +0000
(07:59 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Thu, 11 Feb 2010 07:59:24 +0000
(07:59 +0000)
Originally committed as revision 21753 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/indeo5.c
patch
|
blob
|
history
diff --git
a/libavcodec/indeo5.c
b/libavcodec/indeo5.c
index
3ab372a
..
43d0c40
100644
(file)
--- a/
libavcodec/indeo5.c
+++ b/
libavcodec/indeo5.c
@@
-601,7
+601,6
@@
static int decode_band(IVI5DecContext *ctx, int plane_num,
{
int result, i, t, idx1, idx2;
IVITile *tile;
- uint16_t chksum;
band->buf = band->bufs[ctx->dst_buf];
band->ref_buf = band->bufs[ctx->ref_buf];
@@
-674,7
+673,7
@@
static int decode_band(IVI5DecContext *ctx, int plane_num,
#if IVI_DEBUG
if (band->checksum_present) {
- chksum = ivi_calc_band_checksum(band);
+
uint16_t
chksum = ivi_calc_band_checksum(band);
if (chksum != band->checksum) {
av_log(avctx, AV_LOG_ERROR,
"Band checksum mismatch! Plane %d, band %d, received: %x, calculated: %x\n",