summaryrefslogtreecommitdiff
path: root/src/lib/encode_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-03 00:07:26 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-03 00:07:26 +0100
commit20875785b836b44f50001891e013f996e54e00c8 (patch)
tree79242599bc2c688774cd36b0b73d611ebcd7df00 /src/lib/encode_cli.cc
parente7818d99dc7bbfb32dedee29edcfb3f9df60c7f5 (diff)
Fix use of program_name in encode CLI.
Diffstat (limited to 'src/lib/encode_cli.cc')
-rw-r--r--src/lib/encode_cli.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/encode_cli.cc b/src/lib/encode_cli.cc
index fec97989c..6038b6441 100644
--- a/src/lib/encode_cli.cc
+++ b/src/lib/encode_cli.cc
@@ -254,7 +254,7 @@ show_jobs_on_console(function<void (string)> out, function<void ()> flush, bool
optional<string>
encode_cli(int argc, char* argv[], function<void (string)> out, function<void ()> flush)
{
- auto const program_name = argv[0];
+ program_name = argv[0];
boost::filesystem::path film_dir;
bool progress = true;