[libdvdcss-devel] [Git][videolan/libdvdcss][master] DVD-Audio: remove unneeeded breaks in switch

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Wed Aug 13 07:26:39 UTC 2025



Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdcss


Commits:
99147ab2 by Saifelden Mohamed Ismail at 2025-08-12T14:29:40+03:00
DVD-Audio: remove unneeeded breaks in switch

- - - - -


1 changed file:

- src/libdvdcpxm.c


Changes:

=====================================
src/libdvdcpxm.c
=====================================
@@ -701,10 +701,8 @@ int dvdcpxm_decrypt( cpxm cpxm, int media_type,void *p_buffer, int flags )
     {
         case COPYRIGHT_PROTECTION_CPPM:
             return cppm_decrypt_block( (uint8_t *) p_buffer, flags, cpxm.id_album, cpxm.media_key );
-            break;
         case COPYRIGHT_PROTECTION_CPRM:
             return cprm_decrypt_block( (uint8_t* ) p_buffer, flags, cpxm.id_album ,cpxm.media_key );
-            break;
     }
 
     return 0;



View it on GitLab: https://code.videolan.org/videolan/libdvdcss/-/commit/99147ab25dd3432690f9fa4be7b490fcb3aa0792

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvdcss/-/commit/99147ab25dd3432690f9fa4be7b490fcb3aa0792
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the libdvdcss-devel mailing list