From c75640e9c9e1d4fb6f043ec5f8fc16bc06a885df Mon Sep 17 00:00:00 2001 From: Ni Hui Date: Tue, 10 Nov 2015 22:03:36 +0800 Subject: avcodec/lzw: ff_lzw_decode_tail() now returns the consumed bytes in lzw decompress Reviewed-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavcodec/lzw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/lzw.h') diff --git a/libavcodec/lzw.h b/libavcodec/lzw.h index 4653c1c74f..6af8a6b83a 100644 --- a/libavcodec/lzw.h +++ b/libavcodec/lzw.h @@ -47,7 +47,7 @@ void ff_lzw_decode_open(LZWState **p); void ff_lzw_decode_close(LZWState **p); int ff_lzw_decode_init(LZWState *s, int csize, const uint8_t *buf, int buf_size, int mode); int ff_lzw_decode(LZWState *s, uint8_t *buf, int len); -void ff_lzw_decode_tail(LZWState *lzw); +int ff_lzw_decode_tail(LZWState *lzw); /** LZW encode state */ struct LZWEncodeState; -- cgit v1.2.3