File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11name =JPEGDEC
2- version =1.8.3
2+ version =1.8.4
33author =Larry Bank
44maintainer =Larry Bank
55sentence =Optimized JPEG decoder for MCUs with 32K+ RAM.
Original file line number Diff line number Diff line change @@ -5124,7 +5124,9 @@ static int DecodeJPEG(JPEGIMAGE *pJPEG)
51245124 }
51255125 for (x = 0 ; x < cx && bContinue && iErr == 0 ; x++)
51265126 {
5127- pJPEG->usPixels = &pAlignedPixels[iDMAOffset]; // make sure output is correct offset for DMA
5127+ if (pJPEG->pFramebuffer == NULL ) {
5128+ pJPEG->usPixels = &pAlignedPixels[iDMAOffset]; // make sure output is correct offset for DMA
5129+ }
51285130
51295131 iSkipMask = 0 ; // assume not skipping
51305132 if (bSkipRow || x*mcuCX < pJPEG->iCropX || x*mcuCX > pJPEG->iCropX +pJPEG->iCropCX ) {
You can’t perform that action at this time.
0 commit comments