diff --git a/webif/html/browse/file.jim b/webif/html/browse/file.jim
index a90ed3a..04c227c 100755
--- a/webif/html/browse/file.jim
+++ b/webif/html/browse/file.jim
@@ -271,6 +271,7 @@ if {$type ne "ts"} {
Size |
$sz |
"
+}
set hasffmpeg 0
if {$type ne "ts" || ("ODEncrypted" ni $flags && $url eq "") } {
@@ -286,7 +287,7 @@ puts "
"
-if {hasffmpeg} {
+if {$hasffmpeg} {
set url "/browse/ffmpeg.jim?file=[cgi_quote_url $file]"
puts {