Revision 393cbb96 ffplay.c

View differences:

ffplay.c
1652 1652
    pic->age    = INT_MAX;
1653 1653
    pic->type   = FF_BUFFER_TYPE_USER;
1654 1654
    pic->reordered_opaque = codec->reordered_opaque;
1655
    if(codec->pkt) pic->pkt_pts = codec->pkt->pts;
1656
    else           pic->pkt_pts = AV_NOPTS_VALUE;
1655 1657
    return 0;
1656 1658
}
1657 1659

  
......
1677 1679
    }
1678 1680

  
1679 1681
    pic->reordered_opaque = codec->reordered_opaque;
1682
    if(codec->pkt) pic->pkt_pts = codec->pkt->pts;
1683
    else           pic->pkt_pts = AV_NOPTS_VALUE;
1680 1684
    return 0;
1681 1685
}
1682 1686

  

Also available in: Unified diff