diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-05-22 13:50:23 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-05-22 14:01:56 +0200 |
commit | cc7fac9970c61f764cc9ca2a263c11fb1497dd28 (patch) | |
tree | 955920662475a227f067453180c9bd2af037faa3 /libavcodec/dwt.h | |
parent | c89e428ed8c2c31396af2d18cab4342b7d82958f (diff) | |
download | ffmpeg-cc7fac9970c61f764cc9ca2a263c11fb1497dd28.tar.gz |
dwt: return errors from ff_slice_buffer_init()
Diffstat (limited to 'libavcodec/dwt.h')
-rw-r--r-- | libavcodec/dwt.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/dwt.h b/libavcodec/dwt.h index 6c28447cab..9229928f33 100644 --- a/libavcodec/dwt.h +++ b/libavcodec/dwt.h @@ -137,9 +137,9 @@ typedef struct DWTContext { : ff_slice_buffer_load_line((slice_buf), \ (line_num))) -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); void ff_slice_buffer_release(slice_buffer *buf, int line); void ff_slice_buffer_flush(slice_buffer *buf); void ff_slice_buffer_destroy(slice_buffer *buf); |