Re: [FFmpeg-devel] [PATCH] avcodec/agm: add support for higher compression

2019-04-08 Thread Paul B Mahol
On 4/8/19, James Almer wrote: > On 4/8/2019 12:42 PM, Paul B Mahol wrote: +static int decode_huffman2(AVCodecContext *avctx, int header, int size) +{ +AGMContext *s = avctx->priv_data; +GetBitContext *gb = >gb; +uint8_t lens[256]; +uint32_t

Re: [FFmpeg-devel] [PATCH] avcodec/agm: add support for higher compression

2019-04-08 Thread James Almer
On 4/8/2019 12:42 PM, Paul B Mahol wrote: >>> +static int decode_huffman2(AVCodecContext *avctx, int header, int size) >>> +{ >>> +AGMContext *s = avctx->priv_data; >>> +GetBitContext *gb = >gb; >>> +uint8_t lens[256]; >>> +uint32_t output_size; >>> +int ret, x, len; >>> + >>>

Re: [FFmpeg-devel] [PATCH] avcodec/agm: add support for higher compression

2019-04-08 Thread Nicolas George
Paul B Mahol (12019-04-08): > Yes, changed output_size to int. Sounds worse. Regards, -- Nicolas George signature.asc Description: PGP signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] avcodec/agm: add support for higher compression

2019-04-08 Thread Paul B Mahol
On 4/8/19, Nicolas George wrote: > Paul B Mahol (12019-04-08): >> Signed-off-by: Paul B Mahol >> --- >> libavcodec/agm.c | 403 +++-- >> libavformat/riff.c | 4 + >> 2 files changed, 392 insertions(+), 15 deletions(-) >> >> diff --git

Re: [FFmpeg-devel] [PATCH] avcodec/agm: add support for higher compression

2019-04-08 Thread Nicolas George
Paul B Mahol (12019-04-08): > Signed-off-by: Paul B Mahol > --- > libavcodec/agm.c | 403 +++-- > libavformat/riff.c | 4 + > 2 files changed, 392 insertions(+), 15 deletions(-) > > diff --git a/libavcodec/agm.c b/libavcodec/agm.c > index