aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEtienne Buira <etienne.buira.lists@free.fr>2011-07-01 22:44:53 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-07-02 11:54:29 +0200
commit3db9002f36ab1b40e75e28410650133a44bfe023 (patch)
treebacd4c12a5229962c7d089fc3333b917fb39987c
parent5d35b279e21814b3b1499ae0b2e0e0dad7d7f782 (diff)
downloadffmpeg-3db9002f36ab1b40e75e28410650133a44bfe023.tar.gz
cmdutils: fix an opt name/val swap in set_context_opts()
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index a3f643bff6..53266d4ebe 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -494,7 +494,7 @@ void set_context_opts(void *ctx, void *opts_ctx, int flags, AVCodec *codec)
if (av_find_opt(priv_ctx, opt_names[i], NULL, flags, flags)) {
if (av_set_string3(priv_ctx, opt_names[i], opt_values[i], 1, NULL) < 0) {
fprintf(stderr, "Invalid value '%s' for option '%s'\n",
- opt_names[i], opt_values[i]);
+ opt_values[i], opt_names[i]);
exit(1);
}
} else