Skip to content

Commit 59f7fdc

Browse files
committed
fix .png recognized as BMP
Ror output file it was not problem until @^ because the delegate was the same for bmp and png but for the later on it can be now fpnge.
1 parent 8bc2c07 commit 59f7fdc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gpujpeg_common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @file
3-
* Copyright (c) 2011-2025, CESNET
3+
* Copyright (c) 2011-2026, CESNET
44
* Copyright (c) 2011, Silicon Genome, LLC.
55
*
66
* All rights reserved.
@@ -419,7 +419,7 @@ gpujpeg_image_get_file_format(const char* filename)
419419
{ "jfif", GPUJPEG_IMAGE_FILE_JPEG},
420420
{ "bmp", GPUJPEG_IMAGE_FILE_BMP},
421421
{ "gif", GPUJPEG_IMAGE_FILE_GIF},
422-
{ "png", GPUJPEG_IMAGE_FILE_BMP},
422+
{ "png", GPUJPEG_IMAGE_FILE_PNG},
423423
{ "tga", GPUJPEG_IMAGE_FILE_TGA},
424424
//{ "pbm", GPUJPEG_IMAGE_FILE_PNM},
425425
{ "pnm", GPUJPEG_IMAGE_FILE_PNM},

0 commit comments

Comments
 (0)