OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69449da
)
ffprobe: don't access AVCodecContext.pkt_timebase directly
author
James Almer
<jamrial@gmail.com>
Tue, 27 Sep 2016 01:45:39 +0000
(22:45 -0300)
committer
James Almer
<jamrial@gmail.com>
Tue, 27 Sep 2016 01:45:39 +0000
(22:45 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
ffprobe.c
patch
|
blob
|
history
diff --git
a/ffprobe.c
b/ffprobe.c
index
e64c66e
..
b59f11e
100644
(file)
--- 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;