aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-27 19:58:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-27 19:58:47 +0200
commitf285056810e62cc49362f8ca952de6f6edaf6289 (patch)
tree68cca2ed5aabc4c95fe350b5b5fe1025e6b96aff
parent81943a10b5007825892bac4582659fa7f74c4025 (diff)
downloadffmpeg-f285056810e62cc49362f8ca952de6f6edaf6289.tar.gz
doc/examples/muxing: fix "-flags" option
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--doc/examples/muxing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index 934698a1d7..3ec2eb66d0 100644
--- a/doc/examples/muxing.c
+++ b/doc/examples/muxing.c
@@ -581,7 +581,7 @@ int main(int argc, char **argv)
filename = argv[1];
if (argc > 3 && !strcmp(argv[2], "-flags")) {
- av_dict_set(&opt, argv[2], argv[3], 0);
+ av_dict_set(&opt, argv[2]+1, argv[3], 0);
}
/* allocate the output media context */