Skip to content

Commit 7503a4b

Browse files
committed
vdec/gpujpeg_to_dxt: fix a warning
not relevant at all (gpujpeg_to_dxt is hardly ever used)
1 parent 2a7dd1e commit 7503a4b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/video_decompress/gpujpeg_to_dxt.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author Martin Pulec <pulec@cesnet.cz>
44
*/
55
/*
6-
* Copyright (c) 2012-2025, CESNET
6+
* Copyright (c) 2012-2026, CESNET, zájmové sdružení právnických osob
77
* All rights reserved.
88
*
99
* Redistribution and use in source and binary forms, with or without
@@ -361,7 +361,10 @@ static void gpujpeg_to_dxt_decompress_done(void *state)
361361
delete s;
362362
}
363363

364-
static int gpujpeg_to_dxt_decompress_get_priority(codec_t compression, struct pixfmt_desc internal, codec_t ugc) {
364+
static int
365+
gpujpeg_to_dxt_decompress_get_priority(codec_t compression,
366+
struct pixfmt_desc /* internal */, codec_t ugc)
367+
{
365368
return compression == JPEG && (ugc == DXT1 || ugc == DXT5) ? 900 : -1;
366369
}
367370

0 commit comments

Comments
 (0)