Signed-off-by: James Almer <jamrial@gmail.com>
James Almer authored on 2017/11/13 12:11:34... | ... |
@@ -413,7 +413,7 @@ static av_cold int init_subtitles(AVFilterContext *ctx) |
413 | 413 |
* |
414 | 414 |
* That API is old and needs to be reworked to match behaviour with A/V. |
415 | 415 |
*/ |
416 |
- av_codec_set_pkt_timebase(dec_ctx, st->time_base); |
|
416 |
+ dec_ctx->pkt_timebase = st->time_base; |
|
417 | 417 |
|
418 | 418 |
ret = avcodec_open2(dec_ctx, NULL, &codec_opts); |
419 | 419 |
if (ret < 0) |