Revision df149f6c

View differences:

ffplay.c
710 710
            aspect_ratio = 1.0;
711 711
        aspect_ratio *= (float)vp->width / (float)vp->height;
712 712

  
713
        if (is->subtitle_st)
714
        {
715
            if (is->subpq_size > 0)
716
            {
713
        if (is->subtitle_st) {
714
            if (is->subpq_size > 0) {
717 715
                sp = &is->subpq[is->subpq_rindex];
718 716

  
719
                if (vp->pts >= sp->pts + ((float) sp->sub.start_display_time / 1000))
720
                {
717
                if (vp->pts >= sp->pts + ((float) sp->sub.start_display_time / 1000)) {
721 718
                    SDL_LockYUVOverlay (vp->bmp);
722 719

  
723 720
                    pict.data[0] = vp->bmp->pixels[0];

Also available in: Unified diff