mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
obs-ffmpeg: Fix __VA_ARGS__ for comma ellision
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user