diff --git a/codec.m b/codec.m
index c4286c7756514fc927a358cdadb30972b40efe97..02d5077cf6a22597d8947495c09db8eb42d399f6 100644
--- a/codec.m
+++ b/codec.m
@@ -116,8 +116,6 @@ status = system(command);
 if status
     if encode
         command = ['"' TApp,'" ',HEVCArgList,' ',redirect(LogFileEnc)];
-    elseif decode
-        command = ['"' TApp,'" ',HEVCArgList,' ',redirect(LogFileDec)];
     end
     
     disp(command)