mirror of
https://github.com/schnaader/precomp-cpp
synced 2026-08-23 00:23:04 -04:00
parent
90f2353425
commit
a0401d7a26
1 changed files with 3 additions and 1 deletions
|
|
@ -3758,7 +3758,9 @@ INTERN bool jpg_parse_jfif( unsigned char type, unsigned int len, unsigned char*
|
|||
cmpnfo[ cmp ].jid = segment[ hpos ];
|
||||
cmpnfo[ cmp ].sfv = LBITS( segment[ hpos + 1 ], 4 );
|
||||
cmpnfo[ cmp ].sfh = RBITS( segment[ hpos + 1 ], 4 );
|
||||
cmpnfo[ cmp ].qtable = qtables[ segment[ hpos + 2 ] ];
|
||||
if (segment[hpos + 2] >= 0 && segment[hpos + 2] < 4) {
|
||||
cmpnfo[cmp].qtable = qtables[segment[hpos + 2]];
|
||||
}
|
||||
hpos += 3;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue