mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 03:18:08 +02:00
vdpau: Add missing printf format specifier.
Fix defect reported by Coverity Scan. Extra argument to printf format specifier (PRINTF_ARGS) extra_argument: This argument was not used by the format string: vmixer->max_layers. Fixes:89b9863252("vdpau: Add support for parameters") Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Leo Liu <leo.liu@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7200> (cherry picked from commit3fe5c13d71)
This commit is contained in:
parent
159ded9481
commit
b8ddfc0bb7
2 changed files with 2 additions and 2 deletions
|
|
@ -967,7 +967,7 @@
|
|||
"description": "vdpau: Add missing printf format specifier.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "89b9863252272a7109d468738517a0d68376a909"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ vlVdpVideoMixerCreate(VdpDevice device,
|
|||
}
|
||||
ret = VDP_STATUS_INVALID_VALUE;
|
||||
if (vmixer->max_layers > 4) {
|
||||
VDPAU_MSG(VDPAU_WARN, "[VDPAU] Max layers > 4 not supported\n", vmixer->max_layers);
|
||||
VDPAU_MSG(VDPAU_WARN, "[VDPAU] Max layers %u > 4 not supported\n", vmixer->max_layers);
|
||||
goto no_params;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue