Re: [FFmpeg-devel] [PATCH 1/3] get_bits: add get_bitsz for reading 0-25 bits

2016-01-03 Thread Andreas Cadhalpun
On 03.01.2016 20:39, Michael Niedermayer wrote: > On Sun, Jan 03, 2016 at 07:41:49PM +0100, Andreas Cadhalpun wrote: >> get_bits.h |8 >> mpegaudiodec_template.c |7 --- >> 2 files changed, 8 insertions(+), 7 deletions(-) >> 0d68f088494147aaab5cdd3b3e42fed473b6bc4

Re: [FFmpeg-devel] [PATCH 1/3] get_bits: add get_bitsz for reading 0-25 bits

2016-01-03 Thread Michael Niedermayer
On Sun, Jan 03, 2016 at 07:41:49PM +0100, Andreas Cadhalpun wrote: > On 03.01.2016 02:03, Michael Niedermayer wrote: > > On Sun, Jan 03, 2016 at 01:35:39AM +0100, Andreas Cadhalpun wrote: > >> --- a/libavcodec/get_bits.h > >> +++ b/libavcodec/get_bits.h > >> @@ -269,6 +269,14 @@ static inline unsig

Re: [FFmpeg-devel] [PATCH 1/3] get_bits: add get_bitsz for reading 0-25 bits

2016-01-03 Thread Andreas Cadhalpun
On 03.01.2016 02:03, Michael Niedermayer wrote: > On Sun, Jan 03, 2016 at 01:35:39AM +0100, Andreas Cadhalpun wrote: >> --- a/libavcodec/get_bits.h >> +++ b/libavcodec/get_bits.h >> @@ -269,6 +269,14 @@ static inline unsigned int get_bits(GetBitContext *s, >> int n) >> return tmp; >> } >>

Re: [FFmpeg-devel] [PATCH 1/3] get_bits: add get_bitsz for reading 0-25 bits

2016-01-02 Thread Michael Niedermayer
On Sun, Jan 03, 2016 at 01:35:39AM +0100, Andreas Cadhalpun wrote: > This can be used to simplify code in a couple of places. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/get_bits.h | 8 > 1 file changed, 8 insertions(+) > > diff --git a/libavcodec/get_bits.h b/libavcodec/ge

Re: [FFmpeg-devel] [PATCH 1/3] get_bits: add get_bitsz for reading 0-25 bits

2016-01-02 Thread Michael Niedermayer
On Sun, Jan 03, 2016 at 01:35:39AM +0100, Andreas Cadhalpun wrote: > This can be used to simplify code in a couple of places. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/get_bits.h | 8 > 1 file changed, 8 insertions(+) ok thx [...] -- Michael GnuPG fingerprint: 9FF2

[FFmpeg-devel] [PATCH 1/3] get_bits: add get_bitsz for reading 0-25 bits

2016-01-02 Thread Andreas Cadhalpun
This can be used to simplify code in a couple of places. Signed-off-by: Andreas Cadhalpun --- libavcodec/get_bits.h | 8 1 file changed, 8 insertions(+) diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h index 0a61c80..f984d3e 100644 --- a/libavcodec/get_bits.h +++ b/libavcodec