[go: nahoru, domu]

Fix the flushing process of DecryptingAudioDecoder.

This is the audio part of r277270.

When Decode(EOS) is called on DecryptingAudioDecoder, the decoder should keep
flushing the decryptor with EOS input until NeedMoreData() is returned. Then the
decoder can return the DecodeCB.

BUG=338529
TEST=Fix unittest to cover this case.

Review URL: https://codereview.chromium.org/332253002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277836 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed