summaryrefslogtreecommitdiff
path: root/libs/rs/rsScriptC.cpp
diff options
context:
space:
mode:
author Kenny Root <kroot@google.com> 2010-06-01 19:56:42 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2010-06-01 19:56:42 -0700
commit847b82d8a6d3cc6969cbeeaf9ca7e879abab482a (patch)
tree75dc7b61d605847df777139daceefd72866c46b0 /libs/rs/rsScriptC.cpp
parent8799cdfb012935501e47f15f28d6a8ed90bd464d (diff)
parent89bc1395748a0a139db82adbf01166ed6fa79766 (diff)
am 89bc1395: Merge "Add more error checking for ndc" into froyo
Merge commit '89bc1395748a0a139db82adbf01166ed6fa79766' into froyo-plus-aosp * commit '89bc1395748a0a139db82adbf01166ed6fa79766': (392 commits) Add more error checking for ndc Add javadoc for camera scene modes. more clean-up in preparation of bigger changes Fix a typo in Singleton<> Avoid copying for input recording frames in CameraSource Add video frame parameter. more clean-up of Surfaceflinger's client management Better sniffing of MPEG4 content by checking for a compatible sub-brand. Remove the logic in CameraSource using CameraParameters class to find out the buffer size. Add support for gps altitude EXIF tags. minor clean-up GLclampx -> GLclampf clean-up dead-code Make sure to use filtering while in fixed-size mode oopsie. forgot to displatch SET_BUFFERS_GEOMETRY Avoid repeatedly allocating and freeing memory in CameraSource After failing to create an AudioTrack, only stop the source if we were the ones starting it. Convert a number of assertions into runtime errors (OggExtractor) fix [2712278] The preview buffer left some black borders in left and bottom edges Fix 2667859: change text back to default size Support for thumbnail extraction in the Matroska extractor. ...
Diffstat (limited to 'libs/rs/rsScriptC.cpp')
-rw-r--r--libs/rs/rsScriptC.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp
index 1f2377309a8f..f4d24516c08a 100644
--- a/libs/rs/rsScriptC.cpp
+++ b/libs/rs/rsScriptC.cpp
@@ -159,7 +159,7 @@ void ScriptCState::runCompiler(Context *rsc, ScriptC *s)
ACCchar buf[4096];
ACCsizei len;
accGetScriptInfoLog(s->mAccScript, sizeof(buf), &len, buf);
- LOGE(buf);
+ LOGE("%s", buf);
rsc->setError(RS_ERROR_BAD_SCRIPT, "Error compiling user script.");
return;
}
@@ -345,7 +345,7 @@ void ScriptCState::appendTypes(const Context *rsc, String8 *str)
s.append(e->getName());
s.append("\n\n");
if (rsc->props.mLogScripts) {
- LOGV(s);
+ LOGV("%s", static_cast<const char*>(s));
}
str->append(s);
}
@@ -372,7 +372,7 @@ void ScriptCState::appendTypes(const Context *rsc, String8 *str)
s.append(mSlotNames[ct]);
s.append(";\n");
if (rsc->props.mLogScripts) {
- LOGV(s);
+ LOGV("%s", static_cast<const char*>(s));
}
str->append(s);
}