af_lavcac3enc: fix assert failure "s->expect_len <= s->pending_data_size"
commitc3b6850e81d32f4ab17b0fc77eb96279e8f6a033
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 14 Oct 2010 19:28:09 +0000 (14 22:28 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 14 Oct 2010 19:33:09 +0000 (14 22:33 +0300)
treefe4df54cd519c467b4859e696d27310b44245915
parent7a669a64073839a0d014f20a691014e332faaf69
af_lavcac3enc: fix assert failure "s->expect_len <= s->pending_data_size"

The code handling input format negotiation incorrectly used the bps
value of the suggested input format instead of the format it was going
to actually use. As a result the player could abort with the above
assertion failure. Fix.
libaf/af_lavcac3enc.c