Commit 185e5c46 authored by Andrey Filippov's avatar Andrey Filippov
Browse files

decreased maxahead

parent bafac505
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2428,7 +2428,7 @@ PHP_FUNCTION(elphel_capture_range) {
	long frame = 0;
	long duration=0;
	long this_frame = ELPHEL_GLOBALPARS(port, G_THIS_FRAME);
	long maxahead = PARS_FRAMES_MASK - 3; // -2?
	long maxahead = PARS_FRAMES_MASK - 4; // 3; // -2?
	long ahead, frame_stop;
    if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|ll", &port, &port_mask, &frame, &duration) == FAILURE)
        RETURN_NULL();