From beb62dac629603eb074a44c44389c230b5caac7c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 20 Mar 2016 07:51:11 +0100 Subject: Use AVFrame.pts instead of deprecated pkt_pts. --- libavfilter/vsrc_movie.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavfilter/vsrc_movie.c') diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c index 95ef4f1e9c..5989a59190 100644 --- a/libavfilter/vsrc_movie.c +++ b/libavfilter/vsrc_movie.c @@ -228,8 +228,6 @@ static int movie_get_frame(AVFilterLink *outlink) avcodec_decode_video2(movie->codec_ctx, movie->frame, &frame_decoded, &pkt); if (frame_decoded) { - if (movie->frame->pkt_pts != AV_NOPTS_VALUE) - movie->frame->pts = movie->frame->pkt_pts; av_log(outlink->src, AV_LOG_TRACE, "movie_get_frame(): file:'%s' pts:%"PRId64" time:%f aspect:%d/%d\n", movie->file_name, movie->frame->pts, -- cgit v1.2.3