diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index c2ca91d64fb82e138963f99576474312dcd37498..29cc5e44d80e4cd6379f7c9e07406b3f6d68fbb5 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -124,6 +124,7 @@ static int raw_decode(AVCodecContext *avctx, frame->interlaced_frame = avctx->coded_frame->interlaced_frame; frame->top_field_first = avctx->coded_frame->top_field_first; frame->reordered_opaque = avctx->reordered_opaque; + frame->pkt_pts = avctx->pkt->pts; //2bpp and 4bpp raw in avi and mov (yes this is ugly ...) if (context->buffer) {