Closed Bug 1378039 Opened 8 years ago Closed 8 years ago

MP4Metadata.cpp:895:11: warning: enumeration value 'mp4parse_codec_JPEG' not handled in switch

Categories

(Core :: Audio/Video: Playback, defect)

56 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mozbugz, Unassigned)

References

Details

Introduced in bug 1374194: > media/libstagefright/binding/MP4Metadata.cpp:895:11: > warning: enumeration value 'mp4parse_codec_JPEG' not handled in switch Alfredo, could you please fix that? To reduce the risk of it happening yet again, you could add a comment above/in the enum, to remember to update the switch as well? Or better: Enable warnings-as-errors in the binding code. But I'm not sure if it's possible and how to do it...
Flags: needinfo?(ayang)
Thanks. It is caused by rust parser updated which will be fixed after bug 1374194 landed today. https://bugzilla.mozilla.org/show_bug.cgi?id=1374194#c9
Flags: needinfo?(ayang)
Fixed on bug 1372838.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.