commit | 188ca4a9a7d2194e40d92e451ab5806fc0e54cbf | [log] [tgz] |
---|---|---|
author | Wei Jia <wjia@google.com> | Mon Aug 17 20:13:17 2015 -0700 |
committer | The Android Automerger <android-build@android.com> | Wed Sep 02 18:21:28 2015 -0700 |
tree | a6a3325313cc8d936222082341871bed0b6221e8 | |
parent | 21ba1fd5d895e23d3c15fc6c8edc71751ab51b7b [diff] |
SoftAVCEncoder: fix auto merge error, member names have changed. Bug: 20674674 Change-Id: I511c22d59789e1cc3a21fe13ea08ac3752e737c6
diff --git a/media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp b/media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp index 0f56f4c..6a7b222 100644 --- a/media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp +++ b/media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp
@@ -244,7 +244,7 @@ if (mColorFormat != OMX_COLOR_FormatYUV420Planar || mInputDataIsMeta) { // Color conversion is needed. free(mInputFrameData); - if (((uint64_t)mVideoWidth * mVideoHeight) > ((uint64_t)INT32_MAX / 3)) { + if (((uint64_t)mWidth * mHeight) > ((uint64_t)INT32_MAX / 3)) { ALOGE("Buffer size is too big."); return OMX_ErrorUndefined; }