Revision c04c3282 libavformat/v4l2.c

View differences:

libavformat/v4l2.c
384 384
    uint32_t desired_format, capabilities;
385 385
    const char *video_device;
386 386

  
387
    if (!ap || ap->width <= 0 || ap->height <= 0 || ap->time_base.den <= 0) {
387
    if (ap->width <= 0 || ap->height <= 0 || ap->time_base.den <= 0) {
388 388
        av_log(s1, AV_LOG_ERROR, "Missing/Wrong parameters\n");
389 389

  
390 390
        return -1;

Also available in: Unified diff