Re: [FFmpeg-devel] [PATCH] on2avc: limit number of bits to 30 in get_egolomb

2015-12-18 Thread Andreas Cadhalpun
On 18.12.2015 01:44, Michael Niedermayer wrote: > On Thu, Dec 17, 2015 at 11:30:01PM +0100, Andreas Cadhalpun wrote: >> On 17.12.2015 13:28, Michael Niedermayer wrote: >>> On Wed, Dec 16, 2015 at 08:20:18PM +0100, Andreas Cadhalpun wrote: More don't fit into the integer output. Also

Re: [FFmpeg-devel] [PATCH] on2avc: limit number of bits to 30 in get_egolomb

2015-12-17 Thread Hendrik Leppkes
On Wed, Dec 16, 2015 at 8:20 PM, Andreas Cadhalpun wrote: > More don't fit into the integer output. > > Also use get_bits_long, since get_bits only supports reading up to 25 > bits, while get_bits_long supports the full integer range. > > Signed-off-by: Andreas

Re: [FFmpeg-devel] [PATCH] on2avc: limit number of bits to 30 in get_egolomb

2015-12-17 Thread Andreas Cadhalpun
On 17.12.2015 10:54, Hendrik Leppkes wrote: > On Wed, Dec 16, 2015 at 8:20 PM, Andreas Cadhalpun > wrote: >> More don't fit into the integer output. >> >> Also use get_bits_long, since get_bits only supports reading up to 25 >> bits, while get_bits_long supports

Re: [FFmpeg-devel] [PATCH] on2avc: limit number of bits to 30 in get_egolomb

2015-12-17 Thread Andreas Cadhalpun
On 17.12.2015 13:28, Michael Niedermayer wrote: > On Wed, Dec 16, 2015 at 08:20:18PM +0100, Andreas Cadhalpun wrote: >> More don't fit into the integer output. >> >> Also use get_bits_long, since get_bits only supports reading up to 25 >> bits, while get_bits_long supports the full integer range.

Re: [FFmpeg-devel] [PATCH] on2avc: limit number of bits to 30 in get_egolomb

2015-12-17 Thread Michael Niedermayer
On Wed, Dec 16, 2015 at 08:20:18PM +0100, Andreas Cadhalpun wrote: > More don't fit into the integer output. > > Also use get_bits_long, since get_bits only supports reading up to 25 > bits, while get_bits_long supports the full integer range. > > Signed-off-by: Andreas Cadhalpun

Re: [FFmpeg-devel] [PATCH] on2avc: limit number of bits to 30 in get_egolomb

2015-12-17 Thread Michael Niedermayer
On Thu, Dec 17, 2015 at 11:30:01PM +0100, Andreas Cadhalpun wrote: > On 17.12.2015 13:28, Michael Niedermayer wrote: > > On Wed, Dec 16, 2015 at 08:20:18PM +0100, Andreas Cadhalpun wrote: > >> More don't fit into the integer output. > >> > >> Also use get_bits_long, since get_bits only supports

[FFmpeg-devel] [PATCH] on2avc: limit number of bits to 30 in get_egolomb

2015-12-16 Thread Andreas Cadhalpun
More don't fit into the integer output. Also use get_bits_long, since get_bits only supports reading up to 25 bits, while get_bits_long supports the full integer range. Signed-off-by: Andreas Cadhalpun --- libavcodec/on2avc.c | 4 ++-- 1 file changed, 2