[libdvdnav-devel] [Git][videolan/libdvdnav][master] vmget: Fix undefined shift
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Tue Jun 7 11:43:17 UTC 2022
Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdnav
Commits:
bd0e88f0 by Hugo Beauzée-Luyssen at 2022-06-07T11:36:53+00:00
vmget: Fix undefined shift
- - - - -
1 changed file:
- src/vm/vmget.c
Changes:
=====================================
src/vm/vmget.c
=====================================
@@ -144,7 +144,7 @@ int vm_get_subp_stream(vm_t *vm, int subpN, int mode) {
if(subpN < 32) { /* a valid logical stream */
/* Is this logical stream present */
- if((vm->state).pgc->subp_control[subpN] & (1<<31)) {
+ if((vm->state).pgc->subp_control[subpN] & (1u<<31)) {
if(source_aspect == 0) /* 4:3 */
streamN = ((vm->state).pgc->subp_control[subpN] >> 24) & 0x1f;
if(source_aspect == 3) /* 16:9 */
View it on GitLab: https://code.videolan.org/videolan/libdvdnav/-/commit/bd0e88f0d3605a138896cd7280266d33b9feb878
--
View it on GitLab: https://code.videolan.org/videolan/libdvdnav/-/commit/bd0e88f0d3605a138896cd7280266d33b9feb878
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the libdvdnav-devel
mailing list