Browse Source

lavu/tx: undef the correct macro

It was renamed and no warning was given for undeffing a nonexisting one.
tags/n4.3
Lynne 5 years ago
parent
commit
a38c6f47c9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/tx_template.c

+ 1
- 1
libavutil/tx_template.c View File

@@ -567,7 +567,7 @@ int TX_NAME(ff_tx_init_mdct_fft)(AVTXContext *s, av_tx_fn *tx,
CHECK_FACTOR(n, 15, len) CHECK_FACTOR(n, 15, len)
CHECK_FACTOR(n, 5, len) CHECK_FACTOR(n, 5, len)
CHECK_FACTOR(n, 3, len) CHECK_FACTOR(n, 3, len)
#undef CHECK_NPTWO_FACTOR
#undef CHECK_FACTOR


/* len must be a power of two now */ /* len must be a power of two now */
if (!(len & (len - 1)) && len >= 4 && len <= max_ptwo) { if (!(len & (len - 1)) && len >= 4 && len <= max_ptwo) {


Loading…
Cancel
Save