ac3dec: fix processing of delta bit allocation information.
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 17 Apr 2011 16:26:47 +0000 (12:26 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sun, 17 Apr 2011 16:33:41 +0000 (12:33 -0400)
commit4c64c8e95a02b1d69aabb400fa73cba7ef8f41f7
tree55cd9f8c552b63a083bd78377f870da358d0be88
parent0b05864eef3d5323ee02515e3b62693230f7e4fb
ac3dec: fix processing of delta bit allocation information.

The number of dba segments is the coded value + 1.
The coupling dba offset starts at the first coupling band, not at zero.
libavcodec/ac3.c
libavcodec/ac3dec.c