Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-07-11 11:20:12 +0300
committerAnton Khirnov <anton@khirnov.net>2022-07-19 13:27:17 +0300
commitac2cda4296dbbaf2580ec3aa404bb2f3a393159c (patch)
treebce0774740815db4f5ecd7d9fb231fd870af32ad /libavcodec/rawdec.c
parent4397f9a5a09d82846bf787295c60f1104cf7de9e (diff)
lavc: use AVFrame.duration instead of AVFrame.pkt_duration
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r--libavcodec/rawdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index 34e49c26ca..e1bb542d51 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -234,7 +234,7 @@ static int raw_decode(AVCodecContext *avctx, AVFrame *frame,
return res;
frame->pkt_pos = avctx->internal->last_pkt_props->pos;
- frame->pkt_duration = avctx->internal->last_pkt_props->duration;
+ frame->duration = avctx->internal->last_pkt_props->duration;
if (context->tff >= 0) {
frame->interlaced_frame = 1;