diff options
Diffstat (limited to 'media/jni')
-rw-r--r-- | media/jni/android_media_ImageWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/jni/android_media_ImageWriter.cpp b/media/jni/android_media_ImageWriter.cpp index 8c76665..294cd84 100644 --- a/media/jni/android_media_ImageWriter.cpp +++ b/media/jni/android_media_ImageWriter.cpp @@ -160,7 +160,7 @@ void JNIImageWriterContext::onBufferReleased() { // Writer. Do the detach unconditionally for opaque format now. see b/19977520 if (mFormat == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { sp<Fence> fence; - ANativeWindowBuffer* buffer; + sp<GraphicBuffer> buffer; ALOGV("%s: One buffer is detached", __FUNCTION__); mProducer->detachNextBuffer(&buffer, &fence); } |