Skip to content

Commit 48df149

Browse files
marconeAndroid (Google) Code Review
authored andcommitted
Merge "Rewind buffer before copying into it." into jb-mr1-dev
2 parents 4a01f2b + 39ca39b commit 48df149

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

media/java/android/media/videoeditor/MediaArtistNativeHelper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3831,6 +3831,7 @@ public void onThumbnail(int index) {
38313831
outWidth, outHeight, Bitmap.Config.ARGB_8888);
38323832

38333833
// Copy int[] to IntBuffer
3834+
decBuffer.rewind();
38343835
decBuffer.put(decArray, 0, thumbnailSize);
38353836
decBuffer.rewind();
38363837

0 commit comments

Comments
 (0)