fixed missing filesize

git-svn-id: http://yolanda.mister-muffin.de/svn@78 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
josch 2007-10-17 14:01:28 +00:00
parent 15ad6bca36
commit 0f777e4762

View file

@ -120,11 +120,12 @@ while(1)
}
else
{
$filesize = -s "$gnutube_root/tmp/$id";
#check if the upload already is in the right format
if ($container eq 'ogg' and $video eq 'theora' and $audio eq 'vorbis')
{
appendlog $id, "file already is ogg-theora/vorbis";
$filesize = -s "$gnutube_root/tmp/$id";
#fill database
$sth = $dbh->prepare(qq{update videos set