diff options
author | James Almer <jamrial@gmail.com> | 2017-10-29 20:40:38 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-10-29 20:42:48 +0300 |
commit | 2245476e5c451552f8f32a4a881f6b4968898a47 (patch) | |
tree | 0fe4769926f0e9310d99077d64a41d3baf4249d0 /libavdevice/decklink_dec.cpp | |
parent | 5cc5130c813fd89e5a8b998e504908ef36bed0f1 (diff) |
avdevice: remove usage of deprecated setter and getter functions
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavdevice/decklink_dec.cpp')
-rw-r--r-- | libavdevice/decklink_dec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index b4b9e02cec..e786dd85dc 100644 --- a/libavdevice/decklink_dec.cpp +++ b/libavdevice/decklink_dec.cpp @@ -959,7 +959,7 @@ av_cold int ff_decklink_read_header(AVFormatContext *avctx) st->time_base.den = ctx->bmd_tb_den; st->time_base.num = ctx->bmd_tb_num; - av_stream_set_r_frame_rate(st, av_make_q(st->time_base.den, st->time_base.num)); + st->r_frame_rate = av_make_q(st->time_base.den, st->time_base.num)); switch((BMDPixelFormat)cctx->raw_format) { case bmdFormat8BitYUV: |