aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/snow.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-17 17:39:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-17 17:39:09 +0000
commit29322398fc2610eed5625e9a7328a23f2bd848c4 (patch)
treef2690971317ed2efcb487d2b5af9377ccc4bbc05 /libavcodec/snow.c
parent44c9efcb571ee4f1ea44f658a923cd8a5923f27f (diff)
downloadffmpeg-29322398fc2610eed5625e9a7328a23f2bd848c4.tar.gz
Remove unused variable from slice_buffer_release() found by CSA.
Originally committed as revision 18570 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r--libavcodec/snow.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index b08bd15833..3e4d7761b8 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -542,13 +542,11 @@ static IDWTELEM * slice_buffer_load_line(slice_buffer * buf, int line)
static void slice_buffer_release(slice_buffer * buf, int line)
{
- int offset;
IDWTELEM * buffer;
assert(line >= 0 && line < buf->line_count);
assert(buf->line[line]);
- offset = buf->line_width * line;
buffer = buf->line[line];
buf->data_stack_top++;
buf->data_stack[buf->data_stack_top] = buffer;