Commit 6bedb185 authored by Ian Curtis's avatar Ian Curtis Committed by hpi1

BDGraphics: Fix drawing images with negative source coordinates

Fixes animations with some BD-J menus.
parent 3c0bf5c2
- Fix animations in some BD-J menus.
2014-09-03: Version 0.6.2
- Fix possible subtitle corruption after seek.
- Fix some main path embedded HDMV menus.
......
......@@ -1022,8 +1022,7 @@ abstract class BDGraphicsBase extends Graphics2D implements ConstrainableGraphic
boolean flipX, boolean flipY,
Color bg, ImageObserver observer) {
if ((sx < 0) || (sy < 0) ||
(sw == 0) || (sh == 0) || (dw == 0) || (dh == 0))
if ((sw == 0) || (sh == 0) || (dw == 0) || (dh == 0))
return false;
BDImage bdImage;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment