buggedcom / phpvideotoolkit-v2

PHP Video Toolkit version 2 helps take the voodoo out of ffmpeg and provides a convenient object oriented wrapper around the ffmpeg programme.
Other
262 stars 86 forks source link

Update AudioFormat.php #73

Closed SamarRizvi closed 8 years ago

SamarRizvi commented 8 years ago

Was doing exactly the opposite of throwing \InvalidArgumentException if $channels value is not one of the allowed values. Now, performs correctly.