[libbluray-devel] Remove useless check
hpi1
git at videolan.org
Thu Sep 4 09:58:04 CEST 2014
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Sep 4 10:48:37 2014 +0300| [c0cdf9018e03ac728d60e363ae3645f2a5161c4c] | committer: hpi1
Remove useless check
bd can't be NULL here.
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=c0cdf9018e03ac728d60e363ae3645f2a5161c4c
---
src/libbluray/bluray.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 4fbea45..320f009 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -1164,7 +1164,7 @@ static void _bdj_osd_cb(BLURAY *bd, const unsigned *img, int w, int h,
{
BD_ARGB_OVERLAY aov;
- if (!bd || !bd->argb_overlay_proc) {
+ if (!bd->argb_overlay_proc) {
_queue_event(bd, BD_EVENT_MENU, 0);
return;
}
More information about the libbluray-devel
mailing list