Ticket #119: ffplay.diff

File ffplay.diff, 388 bytes (added by ami_stuff, 15 years ago)
  • ffplay.c

    diff --git a/ffplay.c b/ffplay.c
    index ffe1c0f..9424ef3 100644
    a b static int stream_component_open(VideoState *is, int stream_index)  
    21302130        if (avctx->channels > 0) {
    21312131            avctx->request_channels = FFMIN(2, avctx->channels);
    21322132        } else {
    2133             avctx->request_channels = 2;
     2133            return -1;
    21342134        }
    21352135    }
    21362136