diff options
author | Marco Nelissen <marcone@google.com> | 2012-10-12 11:13:10 -0700 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2012-10-12 11:13:10 -0700 |
commit | 39ca39b0268b6c8d227163c52653162e06b84bda (patch) | |
tree | db315e2164baecb5f1ca45f21f4cc14cf8678681 /media/java | |
parent | 5650d86aa3c6d9329638015b166027d60521dc84 (diff) | |
download | frameworks_base-39ca39b0268b6c8d227163c52653162e06b84bda.zip frameworks_base-39ca39b0268b6c8d227163c52653162e06b84bda.tar.gz frameworks_base-39ca39b0268b6c8d227163c52653162e06b84bda.tar.bz2 |
Rewind buffer before copying into it.
b/7334897
Change-Id: I83f795cb662d0845314bfb80b9a27ae45b2a0517
Diffstat (limited to 'media/java')
-rw-r--r-- | media/java/android/media/videoeditor/MediaArtistNativeHelper.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/java/android/media/videoeditor/MediaArtistNativeHelper.java b/media/java/android/media/videoeditor/MediaArtistNativeHelper.java index 4756078..f4fccbe 100644 --- a/media/java/android/media/videoeditor/MediaArtistNativeHelper.java +++ b/media/java/android/media/videoeditor/MediaArtistNativeHelper.java @@ -3831,6 +3831,7 @@ class MediaArtistNativeHelper { outWidth, outHeight, Bitmap.Config.ARGB_8888); // Copy int[] to IntBuffer + decBuffer.rewind(); decBuffer.put(decArray, 0, thumbnailSize); decBuffer.rewind(); |