summaryrefslogtreecommitdiffstats
path: root/defaultopts.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-04-09 04:18:39 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-04-09 04:19:40 +0300
commitd9066294f9eaf2f690ffc0c6a4d6596ee076f412 (patch)
tree511f04af57691b25abc527f16534ad3c0afc9183 /defaultopts.c
parent0e8c38c19bb851a6433922a8068dd4887e79699d (diff)
downloadmpv-d9066294f9eaf2f690ffc0c6a4d6596ee076f412.tar.bz2
mpv-d9066294f9eaf2f690ffc0c6a4d6596ee076f412.tar.xz
defaultopts.c: Minor simplification
This happens to avoid a compiler bug in the current GCC development branch.
Diffstat (limited to 'defaultopts.c')
-rw-r--r--defaultopts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/defaultopts.c b/defaultopts.c
index 53c02301ac..d908eda347 100644
--- a/defaultopts.c
+++ b/defaultopts.c
@@ -31,13 +31,13 @@ void set_default_mplayer_options(struct MPOpts *opts)
.movie_aspect = -1.,
.flip = -1,
.vd_use_slices = 1,
- .lavc_param = (struct lavc_param){
+ .lavc_param = {
.workaround_bugs = 1, // autodetect
.error_resilience = 2,
.error_concealment = 3,
.threads = 1,
},
- .input = (struct input_conf){
+ .input = {
.config_file = "input.conf",
.ar_delay = 100,
.ar_rate = 8,