this updated patch fix the return code of avcodec_decode_video2 for gif decoding
ff_lzw_decode_tail() now returns the consumed bytes in lzw decompress
and gif frame data buffer is skipped properly
gifdec is the only user of ff_lzw_decode_tail()
my usecase tested and the return code problem got di
this commit fix the return code value of avcodec_decode_video2 for gif
decoding, which should be the consumed data length.
---
libavcodec/gifdec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c
index 9f2e6eb..5bcb176 100644
--- a/libavcodec/gifdec
fix the return code value of avcodec_decode_video2 for gif decoding, which
should be the consumed data length.
---
libavcodec/gifdec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c
index 9f2e6eb..5bcb176 100644
--- a/libavcodec/gifdec.c
+++ b/lib