[FFmpeg-cvslog] doc/examples/muxing: fix "-flags" option
Michael Niedermayer
git at videolan.org
Sun Jul 27 21:09:48 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jul 27 19:58:47 2014 +0200| [f285056810e62cc49362f8ca952de6f6edaf6289] | committer: Michael Niedermayer
doc/examples/muxing: fix "-flags" option
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f285056810e62cc49362f8ca952de6f6edaf6289
---
doc/examples/muxing.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index 934698a..3ec2eb6 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 */
More information about the ffmpeg-cvslog
mailing list