Re: [libav-devel] [PATCH] ac3dec: fix processing of delta bit allocation information.

2011-04-17 Thread Luca Barbato
On 04/17/2011 06:33 PM, Justin Ruggles wrote: > On 04/17/2011 12:31 PM, Justin Ruggles wrote: > >> The number of dba segments is the coded value + 1. >> The coupling dba offset starts at the first coupling band, not at zero. >> --- >> I finally got my hands on an AC-3 sample which uses delta bit a

Re: [libav-devel] [PATCH] ac3dec: fix processing of delta bit allocation information.

2011-04-17 Thread Justin Ruggles
On 04/17/2011 12:31 PM, Justin Ruggles wrote: > The number of dba segments is the coded value + 1. > The coupling dba offset starts at the first coupling band, not at zero. > --- > I finally got my hands on an AC-3 sample which uses delta bit allocation. > Unfortunately the Libav AC-3 decoder didn

[libav-devel] [PATCH] ac3dec: fix processing of delta bit allocation information.

2011-04-17 Thread Justin Ruggles
The number of dba segments is the coded value + 1. The coupling dba offset starts at the first coupling band, not at zero. --- I finally got my hands on an AC-3 sample which uses delta bit allocation. Unfortunately the Libav AC-3 decoder didn't decode it properly. This patch fixes that. libavcod