mpc8: fix maximum bands handling
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 4 Jun 2012 06:01:34 +0000 (08:01 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 5 Jun 2012 04:55:57 +0000 (06:55 +0200)
commitb56825c40ee1329b33aed34ff8a639fa18d263a0
tree5b8953011844187f891d0b04fcdc8a7eaac219ed
parent79c8e29a7e404dbcf670df599fad6894f98ccab2
mpc8: fix maximum bands handling

In Musepack SV8 codec property tell the maximum nonzero band, but every
frame codes maximum band as a limit (i.e. strictly less than given value).
Synthesis also expects maximum nonzero band, so there's a need to convert
frame maximum band limit value.
libavcodec/mpc8.c