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
On 11/10/15, nihui wrote:
>
> At 2015-11-10 06:41:47, "Michael Niedermayer"
> wrote:
>>On Sat, Nov 07, 2015 at 10:23:17PM +0800, Ni Hui wrote:
>>> fix the return code value of avcodec_decode_video2 for gif decoding,
>>> which should be the consumed data length.
>>>
>>> ---
>>> libavcodec/gifdec.
At 2015-11-10 06:41:47, "Michael Niedermayer" wrote:
>On Sat, Nov 07, 2015 at 10:23:17PM +0800, Ni Hui wrote:
>> 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 inser
On Sat, Nov 07, 2015 at 10:23:17PM +0800, Ni Hui wrote:
> 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/gi
avcodec_decode_video2 should return the number of bytes used if frame
decompressed correctly
the current gif decoder just returns the number of bytes of header part of one
frame, not including the lzw compressed image data bytes, which should be
included too
as one avpacket may contain multiple
On 11/7/15, Ni Hui wrote:
> 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
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