There was an error while loading. Please reload this page.
2 parents 4935e1f + 74e906c commit f3d40d6Copy full SHA for f3d40d6
1 file changed
jni/minicap/JpgEncoder.cpp
@@ -50,7 +50,7 @@ JpgEncoder::getEncodedData() {
50
bool
51
JpgEncoder::reserveData(uint32_t width, uint32_t height) {
52
if (width == mMaxWidth && height == mMaxHeight) {
53
- return 0;
+ return true;
54
}
55
56
tjFree(mEncodedData);
0 commit comments