mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
fix missing else in jpeg decoder.
This didn't actually break anything since the error case wasn't handled anyway but not a good idea to leave alone.
This commit is contained in:
parent
04ecb3c645
commit
89c38484ea
1 changed files with 1 additions and 1 deletions
|
|
@ -922,7 +922,7 @@ void build_lut(struct jpeg* p_jpeg)
|
|||
p_jpeg->subsample_y[1] = 1;
|
||||
p_jpeg->subsample_y[2] = 1;
|
||||
}
|
||||
if (p_jpeg->frameheader[0].horizontal_sampling == 1
|
||||
else if (p_jpeg->frameheader[0].horizontal_sampling == 1
|
||||
&& p_jpeg->frameheader[0].vertical_sampling == 2)
|
||||
{ /* 4:2:2 vertically subsampled */
|
||||
p_jpeg->store_pos[1] = 2; /* block positions are mirrored */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue