diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-06-16 11:01:33 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-06-19 01:36:17 +0200 |
commit | b583ccc3dbc9d29a5e50b9394ec3eea7237a520a (patch) | |
tree | 2a1a594e114d88639e2634419729bb7314dd409a /libavcodec/rawdec.c | |
parent | 4b5c7d4d9af92819a8523cd01c175c93f150529e (diff) | |
download | ffmpeg-streaming-b583ccc3dbc9d29a5e50b9394ec3eea7237a520a.zip ffmpeg-streaming-b583ccc3dbc9d29a5e50b9394ec3eea7237a520a.tar.gz |
lavc/rawdec: propagate duration from packet to frame
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r-- | libavcodec/rawdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index 4c850f5..d790b88 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; |