[FFmpeg-soc] DCA encoder fixes

Benjamin Larsson banan at ludd.ltu.se
Sun Mar 23 19:57:10 CET 2008


Kostya wrote:
> Here's proof of the concept patch to the dcaenc.c
> which fixes DCA encoding.
> It is not very clean and should be splitted into parts.
> 
> Spotted and fixed/workarounded bugs:
> * avctx->frame_size was unset with filling temp buffer instead
> * small errors in bistream writing
> * no check was done on written data - outputting 0xFFFF in
>   bitstream may be treated as syncword so I clear last bit of
>   quantized value (so it can't be made from to consequent words
>   as well).
> 
> And I'd like to do AAC encoder anyway.
> 


Does it encode recognizable sounds now ?

MvH
Benjamin Larsson



More information about the FFmpeg-soc mailing list