summaryrefslogtreecommitdiff
path: root/test/run_encoder.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-04 12:24:36 +0200
committerMax Kellermann <max@duempel.org>2013-08-04 14:07:50 +0200
commitca0d09c50fc4246fdae67b8a33799ea580b68593 (patch)
tree0a3fa0f4837c0274d034f8dba52b274f3e519c3a /test/run_encoder.cxx
parent81c3224076da6ad727debc6bab8a5422f7322451 (diff)
EncoderPlugin: pass config_param reference
Diffstat (limited to 'test/run_encoder.cxx')
-rw-r--r--test/run_encoder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_encoder.cxx b/test/run_encoder.cxx
index 4b1521b99..27ffddedd 100644
--- a/test/run_encoder.cxx
+++ b/test/run_encoder.cxx
@@ -71,7 +71,7 @@ int main(int argc, char **argv)
config_param param;
param.AddBlockParam("quality", "5.0", -1);
- const auto encoder = encoder_init(*plugin, &param, &error);
+ const auto encoder = encoder_init(*plugin, param, &error);
if (encoder == NULL) {
g_printerr("Failed to initialize encoder: %s\n",
error->message);