summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vsrc_movie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c
index 1ee0f168f0..0e5df327d8 100644
--- a/libavfilter/vsrc_movie.c
+++ b/libavfilter/vsrc_movie.c
@@ -226,7 +226,7 @@ static int movie_get_frame(AVFilterLink *outlink)
"movie_get_frame(): file:'%s' pts:%"PRId64" time:%f aspect:%d/%d\n",
movie->file_name, movie->frame->pts,
(double)movie->frame->pts *
- av_q2d(movie->format_ctx->streams[movie->stream_index]),
+ av_q2d(movie->format_ctx->streams[movie->stream_index]->time_base),
movie->frame->sample_aspect_ratio.num,
movie->frame->sample_aspect_ratio.den);
// We got it. Free the packet since we are returning