mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
loader/jpg: Fix warning
This commit is contained in:
parent
6313fd8948
commit
51c4bc2614
1 changed files with 5 additions and 1 deletions
|
@ -1456,7 +1456,11 @@ void jpeg_decoder::locate_sof_marker()
|
|||
int c = process_markers();
|
||||
|
||||
switch (c) {
|
||||
case M_SOF2: m_progressive_flag = true;
|
||||
case M_SOF2: {
|
||||
m_progressive_flag = true;
|
||||
read_sof_marker();
|
||||
break;
|
||||
}
|
||||
case M_SOF0: /* baseline DCT */
|
||||
case M_SOF1: { /* extended sequential DCT */
|
||||
read_sof_marker();
|
||||
|
|
Loading…
Add table
Reference in a new issue