Skip to content

Commit e0b7b9b

Browse files
committed
(RWEBP) The output file has all 15 bugs fixed. The top-left portion of the thumbnail clearly shows recognizable fjord landscape structure, confirming the mode parsing is working correctly for the first ~9 macroblocks. The remaining corruption from MB10 onward is from cascading errors in the coefficient decode pipeline and BD state drift after ~230 bool reads.
1 parent e9279a8 commit e0b7b9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • libretro-common/formats/webp

libretro-common/formats/webp/rwebp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1314,7 +1314,7 @@ static uint32_t *vp8_decode(const uint8_t *data, size_t len,
13141314
for(j=0;j<16;j++) ly[j]=yb[(my*16+j)*ys+mx*16-1];
13151315
for(j=0;j<8;j++) lu[j]=ub[(my*8+j)*uvs+mx*8-1];
13161316
for(j=0;j<8;j++) lv[j]=vb[(my*8+j)*uvs+mx*8-1];
1317-
} else { memset(ly,129,16); memset(lu,129,8); memset(lv,129,8); }
1317+
} else { memset(ly,127,16); memset(lu,127,8); memset(lv,127,8); }
13181318

13191319
/* Predict */
13201320
if (ym != 4)

0 commit comments

Comments
 (0)