commit | 90982f280089e6956e82a66bdea79b23373092fb | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Aug 06 01:20:29 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Aug 06 01:20:29 2019 +0000 |
tree | 5aa132e0ac90b0a1ae1b4e72388c80849d20ea38 | |
parent | 595bb9f78e540c35c774f026d3540847b094d798 [diff] | |
parent | dc63d2b2b7e44f649a1fc63a0c82204d462fc783 [diff] |
Merge "SoftVorbisDec: Fix isConfigured() in vorbis decoder plugin"
diff --git a/media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp b/media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp index 8d0ea3a..08e20cc 100644 --- a/media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp +++ b/media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp
@@ -290,7 +290,7 @@ } bool SoftVorbis::isConfigured() const { - return mInputBufferCount >= 2; + return (mState != NULL && mVi != NULL); } static void makeBitReader(