aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2011-06-03 19:52:27 -0700
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2011-06-03 19:52:59 -0700
commite4e2db9c74a10b2342297489edc00e99b10d5eb3 (patch)
tree2ff15fd49ecb831b23538d2869400bb5cfefde47 /ffmpeg.c
parentbfd3b70ac3162f028bbfa5a8cd47d2715d49f77e (diff)
downloadffmpeg-e4e2db9c74a10b2342297489edc00e99b10d5eb3.tar.gz
ffmpeg: use opt_acodec when setting audio codec in opt_target.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 35436aa1f2..34e61043b7 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4180,7 +4180,7 @@ static int opt_target(const char *opt, const char *arg)
if(!strcmp(arg, "vcd")) {
opt_codec("vcodec", "mpeg1video");
- opt_codec("vcodec", "mp2");
+ opt_codec("acodec", "mp2");
opt_format("f", "vcd");
opt_frame_size("s", norm == PAL ? "352x288" : "352x240");
@@ -4230,7 +4230,7 @@ static int opt_target(const char *opt, const char *arg)
} else if(!strcmp(arg, "dvd")) {
opt_codec("vcodec", "mpeg2video");
- opt_codec("vcodec", "ac3");
+ opt_codec("acodec", "ac3");
opt_format("f", "dvd");
opt_frame_size("vcodec", norm == PAL ? "720x576" : "720x480");