Fix data_size handling for AC3 and dca decoders.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 30 Apr 2011 21:19:04 +0000 (23:19 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 1 May 2011 17:13:01 +0000 (19:13 +0200)
commit636ee66f1c188de9d92cb794f8765390d8177c42
treecafa7581984e703e786453efe855297d3fc93d87
parent35fe66abbc9a6d151cedbc8d0261dc007aa71fe2
Fix data_size handling for AC3 and dca decoders.

They use now code identical to the AAC decoder.
The AC3 decoder previously did not check the data_size and
the dca decoder checked against and set wrong values for float.
libavcodec/ac3dec.c
libavcodec/dca.c