dca_parser: Handle changes in DCA frame size
authorJohn Stebbins <stebbins@jetheaddev.com>
Wed, 4 Sep 2013 20:08:22 +0000 (13:08 -0700)
committerDiego Biurrun <diego@biurrun.de>
Tue, 17 Sep 2013 16:16:47 +0000 (18:16 +0200)
commit8411baf6f0a42bdd61f00f34aa9efec7e138b5f2
treef0f1f335bc8a76cdaf4bb4d37fa56fa8a1ebfd1f
parent18a245a2aea31b92bc435f2962a71e060d83b5f7
dca_parser: Handle changes in DCA frame size

A change in framesize caused a perpetual loss of synchronization.
So read (and use) the frame size from the frame header instead of
setting it only once.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/dca_parser.c