aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-17 15:01:58 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-17 15:01:58 +0000
commit75eaa91c15fcb294074d9f232408ff1d5ad5427f (patch)
treee9d54fc34779de1c98250952f9bbf5cafe1eaf1e
parent6081c30b81a1d912f12cfa3fa5b8154557971c79 (diff)
downloadffmpeg-75eaa91c15fcb294074d9f232408ff1d5ad5427f.tar.gz
Remove unused variables from slice_buffer_load_line() found by CSA.
Originally committed as revision 18561 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/snow.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index e4e9f713bd..b08bd15833 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -526,7 +526,6 @@ static void slice_buffer_init(slice_buffer * buf, int line_count, int max_alloca
static IDWTELEM * slice_buffer_load_line(slice_buffer * buf, int line)
{
- int offset;
IDWTELEM * buffer;
assert(buf->data_stack_top >= 0);
@@ -534,7 +533,6 @@ static IDWTELEM * slice_buffer_load_line(slice_buffer * buf, int line)
if (buf->line[line])
return buf->line[line];
- offset = buf->line_width * line;
buffer = buf->data_stack[buf->data_stack_top];
buf->data_stack_top--;
buf->line[line] = buffer;