src/Detectives/ffmpegDetective.php
private function ffprobeFormat($format)
	{
		$this->ffprobe();

		if (count($this->formats) > 0)
		{
			$args = func_get_args();

			foreach ($args as $arg)
			{
				if (in_array($arg, $this->formats))
				{
					return true;
				}
			}

			return null;
		}

		return false;
	}
private function ffprobeFormat($format)
	{
		$this->ffprobe();

		if (count($this->formats) > 0)
		{
			$args = func_get_args();

			foreach ($args as $arg)
			{
				if (in_array($arg, $this->formats))
				{
					return true;
				}
			}

			return null;
		}

		return false;
	}
private function ffprobeFormat ( $ format ) { $ this -> ffprobe ( ) ; if ( count ( $ this -> formats ) > 0 ) { $ args = func_get_args ( ) ; foreach ( $ args as $ arg ) { if ( in_array ( $ arg , $ this -> formats ) ) { return true ; } } return null ; } return false ; }
Checks requested format against what formats ffprobe returned.

@param  string  $format  The format extenson to check for.
@param  string|null  $format  Option number of additional formats.
@return boolean|null
Checks requested format against what formats ffprobe returned .