[k3b] [Bug 478589] New: MPEG_PICTURE_CODE case

Dave Gilbert bugzilla_noreply at kde.org
Sat Dec 16 02:49:22 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=478589

            Bug ID: 478589
           Summary: MPEG_PICTURE_CODE case
    Classification: Applications
           Product: k3b
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Video CD project
          Assignee: k3b at kde.org
          Reporter: gilbertd+kde at treblig.org
                CC: chris at ckvsoft.at, michalm at jabster.pl, trueg at kde.org
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the k3b mailing list