Remove unreachable code

This commit is contained in:
Romain Neutron 2014-03-19 00:24:36 -07:00
commit 93b0c348cf

View file

@ -238,7 +238,6 @@ abstract class AbstractProgressListener extends EventEmitter implements Listener
if (false === $format->has('size') || false === $format->has('duration')) { if (false === $format->has('size') || false === $format->has('duration')) {
return; return;
throw new RuntimeException(sprintf('Unable to probe format for %s', $this->pathfile));
} }
$this->totalSize = $format->get('size') / 1024; $this->totalSize = $format->get('size') / 1024;