diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-01-13 01:49:41 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-01-13 16:22:16 +0100 |
commit | 2a81e0c2ad887b85991e71d35a75928677677c51 (patch) | |
tree | a574941fd19887b6826462747bd16c090d6cf7fb /ffmpeg.c | |
parent | 3a1df393b8a1ee9304a34fbc4134a2a27e2b1f12 (diff) | |
download | ffmpeg-2a81e0c2ad887b85991e71d35a75928677677c51.tar.gz |
ffmpeg: fix parse_option() string memleak.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4875,7 +4875,7 @@ static int opt_bitrate(OptionsContext *o, const char *opt, const char *arg) { if(!strcmp(opt, "b")){ av_log(0,AV_LOG_WARNING, "Please use -b:a or -b:v, -b is ambiguous\n"); - return parse_option(o, av_strdup("b:v"), arg, options); + return parse_option(o, "b:v", arg, options); } return opt_default(opt, arg); } |