diff --git a/libraries/phpvideotoolkit/phpvideotoolkit.php5.php b/libraries/phpvideotoolkit/phpvideotoolkit.php5.php
index b2ef1ab..bf1589f 100644
--- a/libraries/phpvideotoolkit/phpvideotoolkit.php5.php
+++ b/libraries/phpvideotoolkit/phpvideotoolkit.php5.php
@@ -2119,7 +2119,7 @@ class PHPVideoToolkit {
           $image = imagecreatefrompng($file);
           break;
         default :
-          continue 1;
+          continue 2;
       }
 
 // 				the dimensions will/should be the same for each image however still best to check
