diff options
author | Glenn Kasten <gkasten@google.com> | 2014-02-07 20:49:21 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-02-07 20:49:22 +0000 |
commit | a793625031a3e326a261a0843598c35a5784bbde (patch) | |
tree | f18a01ac2ead0114a2a46783b3ef79a013fb85e7 /media/libnbaio/AudioBufferProviderSource.cpp | |
parent | 19f420ea68424a608e982d39ab76676a05337685 (diff) | |
parent | 6e0d67d7b496ce17c0970a4ffd3a6f808860949c (diff) | |
download | frameworks_av-a793625031a3e326a261a0843598c35a5784bbde.zip frameworks_av-a793625031a3e326a261a0843598c35a5784bbde.tar.gz frameworks_av-a793625031a3e326a261a0843598c35a5784bbde.tar.bz2 |
Merge "Use Format_isValid() and Format_isEqual() instead of direct comparison"
Diffstat (limited to 'media/libnbaio/AudioBufferProviderSource.cpp')
-rw-r--r-- | media/libnbaio/AudioBufferProviderSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libnbaio/AudioBufferProviderSource.cpp b/media/libnbaio/AudioBufferProviderSource.cpp index e952a00..4a69104 100644 --- a/media/libnbaio/AudioBufferProviderSource.cpp +++ b/media/libnbaio/AudioBufferProviderSource.cpp @@ -28,7 +28,7 @@ AudioBufferProviderSource::AudioBufferProviderSource(AudioBufferProvider *provid NBAIO_Source(format), mProvider(provider), mConsumed(0) { ALOG_ASSERT(provider != NULL); - ALOG_ASSERT(format != Format_Invalid); + ALOG_ASSERT(Format_isValid(format)); } AudioBufferProviderSource::~AudioBufferProviderSource() |