Re: [FFmpeg-devel] [PATCH v2] avcodec/gifdec: skip data lzw consumed

2015-11-10 Thread Michael Niedermayer
On Tue, Nov 10, 2015 at 07:45:09PM +0100, Paul B Mahol wrote: > On 11/10/15, Ni Hui wrote: > > 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

Re: [FFmpeg-devel] [PATCH v2] avcodec/gifdec: skip data lzw consumed

2015-11-10 Thread Paul B Mahol
On 11/10/15, Ni Hui wrote: > 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

[FFmpeg-devel] [PATCH v2] avcodec/gifdec: skip data lzw consumed

2015-11-10 Thread Ni Hui
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