Skip to content

Commit 0951c9e

Browse files
committed
continue
1 parent 32de6fa commit 0951c9e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

selfdrive/ui/replay/framereader.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,7 @@ bool FrameReader::copyBuffers(AVFrame *f, uint8_t *rgb, uint8_t *yuv) {
226226
libyuv::I420Copy(f->data[0], f->linesize[0],
227227
f->data[1], f->linesize[1],
228228
f->data[2], f->linesize[2],
229-
yuv, width * height,
230-
u, (width / 2) * (height / 2),
231-
v, (width / 2) * (height / 2),
229+
yuv, width, u, width / 2, v, width / 2,
232230
width, height);
233231
}
234232
libyuv::I420ToRGB24(f->data[0], f->linesize[0],

0 commit comments

Comments
 (0)