Skip to content

Commit 3d56b09

Browse files
committed
Clean up switch/case
1 parent 08c28d1 commit 3d56b09

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

modules/theora/video_stream_theora.cpp

+1-7
Original file line numberDiff line numberDiff line change
@@ -426,17 +426,11 @@ void VideoStreamPlaybackTheora::set_file(const String &p_file) {
426426
px_fmt = ti.pixel_fmt;
427427
switch (ti.pixel_fmt) {
428428
case TH_PF_420:
429-
//printf(" 4:2:0 video\n");
430-
break;
431429
case TH_PF_422:
432-
//printf(" 4:2:2 video\n");
433-
break;
434430
case TH_PF_444:
435-
//printf(" 4:4:4 video\n");
436431
break;
437-
case TH_PF_RSVD:
438432
default:
439-
printf(" video\n (UNKNOWN Chroma sampling!)\n");
433+
WARN_PRINT(" video\n (UNKNOWN Chroma sampling!)\n");
440434
break;
441435
}
442436
th_decode_ctl(td, TH_DECCTL_GET_PPLEVEL_MAX, &pp_level_max, sizeof(pp_level_max));

0 commit comments

Comments
 (0)