avformat/mp3dec: Fix definition of MIDDLE_BITS
authorIngo Brückl <ib@wupperonline.de>
Tue, 3 Oct 2017 13:50:37 +0000 (15:50 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 4 Oct 2017 00:16:11 +0000 (02:16 +0200)
commit08c751309670854c73b58f234a83f4ba679370be
tree29c8729e9cafe61a7f5ecf48f968beaf06734478
parentd662143f064636f11d92083cd9aa4f907cf97d59
avformat/mp3dec: Fix definition of MIDDLE_BITS

The number of bits from bit #m to #n is n - m plus 1.

Signed-off-by: Ingo Brückl <ib@wupperonline.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mp3dec.c