diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-07-11 11:20:12 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-07-19 13:27:17 +0300 |
commit | ac2cda4296dbbaf2580ec3aa404bb2f3a393159c (patch) | |
tree | bce0774740815db4f5ecd7d9fb231fd870af32ad /libavcodec/rawdec.c | |
parent | 4397f9a5a09d82846bf787295c60f1104cf7de9e (diff) |
lavc: use AVFrame.duration instead of AVFrame.pkt_duration
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r-- | libavcodec/rawdec.c | 2 |
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; |