Revision 69f58958 ffplay.c

View differences:

ffplay.c
752 752
        }
753 753
        rect.x = is->xleft + x;
754 754
        rect.y = is->ytop  + y;
755
        rect.w = width;
756
        rect.h = height;
755
        rect.w = FFMAX(width,  1);
756
        rect.h = FFMAX(height, 1);
757 757
        SDL_DisplayYUVOverlay(vp->bmp, &rect);
758 758
    } else {
759 759
#if 0

Also available in: Unified diff