summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffprobe.c b/ffprobe.c
index e64c66e832..b59f11e4f7 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -2611,7 +2611,7 @@ static int open_input_file(InputFile *ifile, const char *filename)
if (err < 0)
exit(1);
- ist->dec_ctx->pkt_timebase = stream->time_base;
+ av_codec_set_pkt_timebase(ist->dec_ctx, stream->time_base);
#if FF_API_LAVF_AVCTX
ist->dec_ctx->time_base = stream->codec->time_base;
ist->dec_ctx->framerate = stream->codec->framerate;