diff options
Diffstat (limited to 'audio/out/ao.c')
-rw-r--r-- | audio/out/ao.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao.c b/audio/out/ao.c index 8a66b1171c..4953c14c71 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -199,7 +199,7 @@ static struct ao *ao_init(bool probing, struct mpv_global *global, ao->sstride = af_fmt2bps(ao->format); ao->num_planes = 1; - if (af_fmt_is_planar(ao->format)) { + if (AF_FORMAT_IS_PLANAR(ao->format)) { ao->num_planes = ao->channels.num; } else { ao->sstride *= ao->channels.num; |