forked from len0rd/rockbox
Document intentional fallthroughs + fix harmless unintended ones
Change-Id: I1ca5b1027ec30cbf61093bab35b980196ed14e6b
This commit is contained in:
parent
ef41cc6623
commit
005c414e5f
24 changed files with 36 additions and 2 deletions
|
@ -307,6 +307,7 @@ static int sequence_ext (mpeg2dec_t * mpeg2dec)
|
|||
return 1;
|
||||
case 2: /* 4:2:0 */
|
||||
sequence->chroma_height >>= 1;
|
||||
/* fallthrough */
|
||||
case 4: /* 4:2:2 */
|
||||
sequence->chroma_width >>= 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue