Bug 478589 - MPEG_PICTURE_CODE case
Summary: MPEG_PICTURE_CODE case
Status: REPORTED
Alias: None
Product: k3b
Classification: Applications
Component: Video CD project (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: k3b developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-16 02:49 UTC by Dave Gilbert
Modified: 2023-12-16 02:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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