diff options
author | James Almer <jamrial@gmail.com> | 2017-11-13 00:11:34 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-11-15 01:14:22 -0300 |
commit | 03dae121c0508bddeac30245042485420a0a3370 (patch) | |
tree | e64d65ae726943f023ff8e41f61d4b151def9f46 /libavfilter/vf_subtitles.c | |
parent | 21add0c228e00b8ea89dd13082faa3dcb37912fb (diff) |
avfilter/vf_subtitles: remove usage of AVCodecContext accessors
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/vf_subtitles.c')
-rw-r--r-- | libavfilter/vf_subtitles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c index 66a564699a..a7b02461f2 100644 --- a/libavfilter/vf_subtitles.c +++ b/libavfilter/vf_subtitles.c @@ -413,7 +413,7 @@ static av_cold int init_subtitles(AVFilterContext *ctx) * * That API is old and needs to be reworked to match behaviour with A/V. */ - av_codec_set_pkt_timebase(dec_ctx, st->time_base); + dec_ctx->pkt_timebase = st->time_base; ret = avcodec_open2(dec_ctx, NULL, &codec_opts); if (ret < 0) |