Browse Source

avdevice/libndi_newtek_dec: remove extra bracket

Fixes compilation broken in 2245476e5c

Signed-off-by: James Almer <jamrial@gmail.com>
tags/n4.0
James Almer 8 years ago
parent
commit
da71351dd3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavdevice/libndi_newtek_dec.c

+ 1
- 1
libavdevice/libndi_newtek_dec.c View File

@@ -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);


Loading…
Cancel
Save