From da71351dd36a4f91bc4ea8129cffc5a858b8d686 Mon Sep 17 00:00:00 2001 From: James Almer Date: Mon, 30 Oct 2017 11:48:14 -0300 Subject: [PATCH] avdevice/libndi_newtek_dec: remove extra bracket Fixes compilation broken in 2245476e5c451552f8f32a4a881f6b4968898a47 Signed-off-by: James Almer --- libavdevice/libndi_newtek_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/libndi_newtek_dec.c b/libavdevice/libndi_newtek_dec.c index 5bbaa39786..2f14f4b03f 100644 --- a/libavdevice/libndi_newtek_dec.c +++ b/libavdevice/libndi_newtek_dec.c @@ -189,7 +189,7 @@ static int ndi_create_video_stream(AVFormatContext *avctx, NDIlib_video_frame_t } st->time_base = NDI_TIME_BASE_Q; - st->r_frame_rate = av_make_q(v->frame_rate_N, v->frame_rate_D)); + st->r_frame_rate = av_make_q(v->frame_rate_N, v->frame_rate_D); tmp = av_mul_q(av_d2q(v->picture_aspect_ratio, INT_MAX), (AVRational){v->yres, v->xres}); av_reduce(&st->sample_aspect_ratio.num, &st->sample_aspect_ratio.den, tmp.num, tmp.den, 1000);