Image: Fix a typo introduced in 3f5dbb7780

This commit is contained in:
Peter Keresztes Schmidt 2021-05-02 23:22:49 +02:00
parent e5613d0d27
commit e5ceed31cc
1 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ Image::Image(int p_width, int p_height, int p_colours, int p_subpixelorder, uint
}
if (!subpixelorder) {
// Default to RGBA when no subpixelorder is specified.
subpixelorder == ZM_SUBPIX_ORDER_RGBA;
subpixelorder = ZM_SUBPIX_ORDER_RGBA;
}
imagePixFormat = AVPixFormat();
@ -207,7 +207,7 @@ Image::Image(int p_width, int p_linesize, int p_height, int p_colours, int p_sub
}
if (!subpixelorder) {
// Default to RGBA when no subpixelorder is specified.
subpixelorder == ZM_SUBPIX_ORDER_RGBA;
subpixelorder = ZM_SUBPIX_ORDER_RGBA;
}
imagePixFormat = AVPixFormat();