Revision 62ecd363 libavcodec/utils.c

View differences:

libavcodec/utils.c
396 396

  
397 397
    /* If internal buffer type return the same buffer */
398 398
    if(pic->type == FF_BUFFER_TYPE_INTERNAL) {
399
        if(s->pkt) pic->pkt_pts= s->pkt->pts;
400
        else       pic->pkt_pts= AV_NOPTS_VALUE;
399 401
        pic->reordered_opaque= s->reordered_opaque;
400 402
        return 0;
401 403
    }

Also available in: Unified diff