obs-ffmpeg: Fix __VA_ARGS__ for comma ellision

This commit is contained in:
derrod
2023-03-01 20:39:53 +01:00
committed by Rodney
parent f9cce334d2
commit 2ac8ce8f65
+1 -1
View File
@@ -131,7 +131,7 @@ struct nv_bitstream {
void *ptr;
};
#define NV_FAIL(format, ...) nv_fail(enc->encoder, format, __VA_ARGS__)
#define NV_FAIL(format, ...) nv_fail(enc->encoder, format, ##__VA_ARGS__)
#define NV_FAILED(x) nv_failed(enc->encoder, x, __FUNCTION__, #x)
static bool nv_bitstream_init(struct nvenc_data *enc, struct nv_bitstream *bs)