• R/O
  • SSH
  • HTTPS

nicoro: Commit


Commit MetaInfo

Revisão577 (tree)
Hora2013-01-18 00:57:15
Autorshisei123

Mensagem de Log

Nexus 7 (Android 4.2)で16bitカラー使用のFFmpegプレイヤーでクラッシュする不具合を修正

Mudança Sumário

Diff

--- trunk/NicoRo/src/jp/sourceforge/nicoro/SurfaceVideoDrawer.java (revision 576)
+++ trunk/NicoRo/src/jp/sourceforge/nicoro/SurfaceVideoDrawer.java (revision 577)
@@ -546,6 +546,7 @@
546546
547547 if (mUse16bitColor) {
548548 ByteBuffer byteBuffer = (ByteBuffer) drawBuffer;
549+ byteBuffer.rewind();
549550 mDrawBuffer16bit.copyPixelsFromBuffer(byteBuffer);
550551
551552 canvas.drawBitmap(mDrawBuffer16bit,
Show on old repository browser