[libbluray-devel] Removed duplicate check

hpi1 git at videolan.org
Thu Aug 21 11:31:24 CEST 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Aug 21 12:30:42 2014 +0300| [5e12b8baa819bb8862ac6dada95cded04b81356b] | committer: hpi1

Removed duplicate check

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=5e12b8baa819bb8862ac6dada95cded04b81356b
---

 src/file/libaacs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/file/libaacs.c b/src/file/libaacs.c
index 3dc36c9..d539d41 100644
--- a/src/file/libaacs.c
+++ b/src/file/libaacs.c
@@ -275,7 +275,7 @@ BD_PRIVATE const uint8_t *libaacs_get_aacs_data(BD_AACS *p, int type)
 
     switch (type) {
         case BD_AACS_DISC_ID:
-            return p ? p->disc_id : NULL;
+            return p->disc_id;
 
         case BD_AACS_MEDIA_VID:
             return _get_vid(p);



More information about the libbluray-devel mailing list