summaryrefslogtreecommitdiff
path: root/avconv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-03-20 07:51:11 +0100
committerAnton Khirnov <anton@khirnov.net>2016-06-21 19:54:42 +0200
commitbeb62dac629603eb074a44c44389c230b5caac7c (patch)
tree19710471110c23126b14708b8ee0d998eeea9163 /avconv.c
parent32c8359093d1ff4f45ed19518b449b3ac3769d27 (diff)
Use AVFrame.pts instead of deprecated pkt_pts.
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv.c b/avconv.c
index 385eb2c16b..bd84d9b965 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1279,7 +1279,7 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output)
}
ist->hwaccel_retrieved_pix_fmt = decoded_frame->format;
- decoded_frame->pts = guess_correct_pts(&ist->pts_ctx, decoded_frame->pkt_pts,
+ decoded_frame->pts = guess_correct_pts(&ist->pts_ctx, decoded_frame->pts,
decoded_frame->pkt_dts);
if (ist->st->sample_aspect_ratio.num)