Bug 478589

Summary: MPEG_PICTURE_CODE case
Product: [Applications] k3b Reporter: Dave Gilbert <gilbertd+kde>
Component: Video CD projectAssignee: k3b developers <k3b>
Status: REPORTED ---    
Severity: normal CC: chris, michalm, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dave Gilbert 2023-12-16 02:49:22 UTC
SUMMARY
Spotted during build by the compiler:

k3b/libk3b/projects/videocd/mpeginfo/k3bmpeginfo.cpp:307:5: warning: case label value exceeds maximum value for type [-Wswitch-outside-range]
  307 |     case MPEG_PICTURE_CODE:
      |     ^~~~

it's got a point, the switch is on 'mark' which is a 'byte' and
k3bmpeginfo.h defines:
#define MPEG_PICTURE_CODE        ((ulong) 0x00000100)

No idea what it's actually trying to do.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION