[FFmpeg-devel] [PATCH] ac3 parser incorrectly sets frame_size to samples*channel

elupus elupus
Sat Feb 21 01:14:40 CET 2009


On Fri, 20 Feb 2009 16:59:03 -0500, Justin Ruggles wrote:

> elupus wrote:
>> [21 quoted lines suppressed]
> 
> Your assessment is incorrect, but it does need to be fixed. A normal AC3
> frame is 6 blocks with 256 samples per block no matter how many channels
> it has. An E-AC3 frame has 1, 2, 3, or 6 blocks. I suspect your
> problematic E-AC3 sample has 1 block per frame.  I will apply a
> different fix shortly.
> 
> Thanks,
> Justin

Indeed you were right. Just tested your solution and it work perfectly. 

Thanx
Joakim





More information about the ffmpeg-devel mailing list