From b583ccc3dbc9d29a5e50b9394ec3eea7237a520a Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 16 Jun 2012 11:01:33 +0200 Subject: lavc/rawdec: propagate duration from packet to frame --- libavcodec/rawdec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/rawdec.c') diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index 4c850f551c..d790b881fb 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -150,6 +150,7 @@ static int raw_decode(AVCodecContext *avctx, frame->reordered_opaque = avctx->reordered_opaque; frame->pkt_pts = avctx->pkt->pts; frame->pkt_pos = avctx->pkt->pos; + frame->pkt_duration = avctx->pkt->duration; if(context->tff>=0){ frame->interlaced_frame = 1; -- cgit v1.2.3