Revision c04c3282 libavformat/grab.c

View differences:

libavformat/grab.c
68 68
    const char *video_device;
69 69
    int j;
70 70

  
71
    if (!ap || ap->width <= 0 || ap->height <= 0 || ap->time_base.den <= 0)
71
    if (ap->width <= 0 || ap->height <= 0 || ap->time_base.den <= 0)
72 72
        return -1;
73 73

  
74 74
    width = ap->width;

Also available in: Unified diff