diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2015-04-02 22:01:51 -0700 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2015-04-03 15:40:01 -0700 |
commit | 46b9df9f9e1eec5cdaa03ab842b34cf1f2ad9ece (patch) | |
tree | eae7a659723e84dc6382cc4a011aa1809342c97c /audio/filter/af_lavrresample.c | |
parent | 07671ac57b41710201e9a0f22b8a8d0febad1c37 (diff) |
audio: make all format query shortcuts macros
af_fmt_is_float and af_fmt_is_planar were previously inconsistent with
AF_FORAMT_IS_SPECIAL/AF_FORMAT_IS_IEC61937
Diffstat (limited to 'audio/filter/af_lavrresample.c')
-rw-r--r-- | audio/filter/af_lavrresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/filter/af_lavrresample.c b/audio/filter/af_lavrresample.c index 7ccfc5c593..9e4a8adaaa 100644 --- a/audio/filter/af_lavrresample.c +++ b/audio/filter/af_lavrresample.c @@ -404,7 +404,7 @@ static int filter(struct af_instance *af, struct mp_audio *in) } if (needs_reorder(s->reorder_out, out->nch)) { - if (af_fmt_is_planar(out->format)) { + if (AF_FORMAT_IS_PLANAR(out->format)) { reorder_planes(out, s->reorder_out); } else if (out->samples) { struct mp_audio *new = mp_audio_pool_get(s->reorder_buffer, out, |