mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 17:54:25 +00:00
avfilter/vf_subtitles: remove usage of AVCodecContext accessors
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
21add0c228
commit
03dae121c0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user