[vlc-commits] Bluray: remove more outdated code

Jean-Baptiste Kempf git at videolan.org
Fri Dec 27 11:20:54 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Dec 27 11:19:36 2013 +0100| [03310c483138fbb1b21195e1ea9578dda17f731f] | committer: Jean-Baptiste Kempf

Bluray: remove more outdated code

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=03310c483138fbb1b21195e1ea9578dda17f731f
---

 modules/access/bluray.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 2efde4c..38aea94 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -328,7 +328,6 @@ static int blurayOpen(vlc_object_t *object)
             BLURAY_ERROR(_("This Blu-ray Disc needs a library for AACS decoding"
                       ", and your system does not have it."));
         if (!disc_info->aacs_handled) {
-#ifdef BD_AACS_CORRUPTED_DISC
             if (disc_info->aacs_error_code) {
                 switch (disc_info->aacs_error_code) {
                 case BD_AACS_CORRUPTED_DISC:
@@ -345,11 +344,6 @@ static int blurayOpen(vlc_object_t *object)
                     BLURAY_ERROR(_("AACS MMC failed."));
                 }
             }
-#else
-            /* libbluray < 0.2.3 */
-            BLURAY_ERROR(_("Your system AACS decoding library does not work. "
-                      "Missing keys?"));
-#endif /* BD_AACS_CORRUPTED_DISC */
         }
     }
 



More information about the vlc-commits mailing list