Skip to content

Commit

Permalink
correct copy-paste typo (fixes #437)
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Nov 30, 2023
1 parent 1475c7d commit 2620258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libde265/image.cc
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ de265_error de265_image::alloc_image(int w,int h, enum de265_chroma c,
return DE265_ERROR_CODED_PARAMETER_OUT_OF_RANGE;
}

if ((top+bottom)*WinUnitX >= height) {
if ((top+bottom)*WinUnitY >= height) {
return DE265_ERROR_CODED_PARAMETER_OUT_OF_RANGE;
}

Expand Down

0 comments on commit 2620258

Please sign in to comment.