Revision 5d4890d7 ffplay.c

View differences:

ffplay.c
1745 1745

  
1746 1746
    if(avfilter_request_frame(ctx->inputs[0]))
1747 1747
        return -1;
1748
    if(!(pic = ctx->inputs[0]->cur_pic))
1748
    if(!(pic = ctx->inputs[0]->cur_buf))
1749 1749
        return -1;
1750
    ctx->inputs[0]->cur_pic = NULL;
1750
    ctx->inputs[0]->cur_buf = NULL;
1751 1751

  
1752 1752
    frame->opaque = pic;
1753 1753
    *pts          = pic->pts;

Also available in: Unified diff