diff options
author | James Almer <jamrial@gmail.com> | 2016-09-26 22:45:39 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-09-26 22:45:39 -0300 |
commit | 64545dd6001355491084902008431e45b3f03c50 (patch) | |
tree | a82f94c0c0845925f1f520770d7d857171bbaab0 /ffprobe.c | |
parent | 69449da436169e7facaa6d1f3bcbc41cf6ce2754 (diff) | |
download | ffmpeg-64545dd6001355491084902008431e45b3f03c50.tar.gz |
ffprobe: don't access AVCodecContext.pkt_timebase directly
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |