Skip to content

Commit 2620258

Browse files
committed
correct copy-paste typo (fixes #437)
1 parent 1475c7d commit 2620258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libde265/image.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ de265_error de265_image::alloc_image(int w,int h, enum de265_chroma c,
334334
return DE265_ERROR_CODED_PARAMETER_OUT_OF_RANGE;
335335
}
336336

337-
if ((top+bottom)*WinUnitX >= height) {
337+
if ((top+bottom)*WinUnitY >= height) {
338338
return DE265_ERROR_CODED_PARAMETER_OUT_OF_RANGE;
339339
}
340340

0 commit comments

Comments
 (0)