commit | 5e12c916d256b87bdfebcf8ca5c0d6256ce59f44 | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Mon Aug 05 18:45:46 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Mon Aug 05 18:45:46 2019 -0700 |
tree | fd9cae70a00f52769340d97c95c705c897fdeac3 | |
parent | 63923498b78454964e734fbc6bc187045c2b09e8 [diff] | |
parent | c2036c256a05789fd5f161dc4148232e7f607ad0 [diff] |
Merge "SoftVorbisDec: Fix isConfigured() in vorbis decoder plugin" am: 90982f2800 am: c2036c256a Change-Id: I2e2e025c8f8c0cde712978f9211b406a96cbf6f9
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(