Skip to content

Commit

Permalink
GDALDeinterleave(): use Byte --> Byte optimization also for Int8 --> …
Browse files Browse the repository at this point in the history
…Int8 case
  • Loading branch information
rouault committed Jan 5, 2025
1 parent f9a6430 commit 2c7d458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcore/rasterio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5586,7 +5586,7 @@ void GDALDeinterleave(const void *pSourceBuffer, GDALDataType eSourceDT,
{
if (eSourceDT == eDestDT)
{
if (eSourceDT == GDT_Byte)
if (eSourceDT == GDT_Byte || eSourceDT == GDT_Int8)
{
if (nComponents == 3)
{
Expand Down

0 comments on commit 2c7d458

Please sign in to comment.