diff options
author | Diogo Ferreira <defer@cyngn.com> | 2015-12-01 15:33:17 +0000 |
---|---|---|
committer | Diogo Ferreira <defer@cyngn.com> | 2015-12-01 15:33:17 +0000 |
commit | 9ea60c76a3eb25d968bfc54e77721944d1b740e1 (patch) | |
tree | be72734a72ef5905a65b3c7c45f8d1b5cc75fe37 /media/libstagefright/FFMPEGSoftCodec.cpp | |
parent | aeda337c2fad2db2d25128c4bd68fd7c2c32c09f (diff) | |
download | frameworks_av-9ea60c76a3eb25d968bfc54e77721944d1b740e1.zip frameworks_av-9ea60c76a3eb25d968bfc54e77721944d1b740e1.tar.gz frameworks_av-9ea60c76a3eb25d968bfc54e77721944d1b740e1.tar.bz2 |
ffmpeg: flac: Assume 16 bits per sample if not set
Fixes
android.media.cts.MediaCodecCapabilitiesTest#testGetMaxSupportedInstances
Change-Id: I52222fd739c413ddd9c925796dc7adabef1b375a
Diffstat (limited to 'media/libstagefright/FFMPEGSoftCodec.cpp')
-rw-r--r-- | media/libstagefright/FFMPEGSoftCodec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/FFMPEGSoftCodec.cpp b/media/libstagefright/FFMPEGSoftCodec.cpp index 6a842e7..fe86a03 100644 --- a/media/libstagefright/FFMPEGSoftCodec.cpp +++ b/media/libstagefright/FFMPEGSoftCodec.cpp @@ -1020,7 +1020,7 @@ status_t FFMPEGSoftCodec::setFLACFormat( CHECK(msg->findInt32(getMsgKey(kKeyChannelCount), &numChannels)); CHECK(msg->findInt32(getMsgKey(kKeySampleRate), &sampleRate)); - CHECK(msg->findInt32(getMsgKey(kKeyBitsPerSample), &bitsPerSample)); + msg->findInt32(getMsgKey(kKeyBitsPerSample), &bitsPerSample); ALOGV("Channels: %d, SampleRate: %d BitsPerSample: %d", numChannels, sampleRate, bitsPerSample); |