summaryrefslogtreecommitdiff
path: root/libavcodec/dwt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dwt.c')
-rw-r--r--libavcodec/dwt.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/dwt.c b/libavcodec/dwt.c
index 748bd40f32..6c1f1310a3 100644
--- a/libavcodec/dwt.c
+++ b/libavcodec/dwt.c
@@ -24,9 +24,9 @@
#include "dwt.h"
#include "libavcodec/x86/dwt.h"
-void ff_slice_buffer_init(slice_buffer *buf, int line_count,
- int max_allocated_lines, int line_width,
- IDWTELEM *base_buffer)
+int ff_slice_buffer_init(slice_buffer *buf, int line_count,
+ int max_allocated_lines, int line_width,
+ IDWTELEM *base_buffer)
{
int i;
@@ -55,6 +55,7 @@ void ff_slice_buffer_init(slice_buffer *buf, int line_count,
}
buf->data_stack_top = max_allocated_lines - 1;
+ return 0;
}
IDWTELEM *ff_slice_buffer_load_line(slice_buffer *buf, int line)