diff options
author | wm4 <wm4@nowhere> | 2020-04-10 23:12:41 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-04-13 15:56:27 +0200 |
commit | 835137a0e52f9afa6b34ab2c6ab6b5e9d965dfa2 (patch) | |
tree | cb4c90a30d82ae93e209834ed27d58c47ad2f49a /player | |
parent | e796fe4bfc46282965e9e3d09519bf4d3306bb42 (diff) | |
download | mpv-835137a0e52f9afa6b34ab2c6ab6b5e9d965dfa2.tar.bz2 mpv-835137a0e52f9afa6b34ab2c6ab6b5e9d965dfa2.tar.xz |
player, ta: remove use of an old macro
I thought that would make a nice idiom, but it ended up being useless or
clunky.
Diffstat (limited to 'player')
-rw-r--r-- | player/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/main.c b/player/main.c index 25bf22ef5a..cb5ebcb99d 100644 --- a/player/main.c +++ b/player/main.c @@ -264,7 +264,7 @@ struct MPContext *mp_create(void) .last_chapter = -2, .term_osd_contents = talloc_strdup(mpctx, ""), .osd_progbar = { .type = -1 }, - .playlist = talloc_struct(mpctx, struct playlist, {0}), + .playlist = talloc_zero(mpctx, struct playlist), .dispatch = mp_dispatch_create(mpctx), .playback_abort = mp_cancel_new(mpctx), .thread_pool = mp_thread_pool_create(mpctx, 0, 1, 30), |