diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-03 22:47:58 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-05 02:15:43 +0200 |
commit | c095358289559d91932bd2ea48f90848ecee1f80 (patch) | |
tree | c36a638e81c8f2caaa6579263e4b47e73ad0c524 /libavcodec/opusenc.c | |
parent | 81b927a53bafd51b3874ae7c36c6948cc632c267 (diff) |
avcodec/opus: Move defines to better places
Move ROUND_MUL* macros to their only users and the Celt
macros to opus_celt.h. Also improve the other headers
a bit while at it.
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/opusenc.c')
-rw-r--r-- | libavcodec/opusenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/opusenc.c b/libavcodec/opusenc.c index 58e3f5fa38..7695e95884 100644 --- a/libavcodec/opusenc.c +++ b/libavcodec/opusenc.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <float.h> + #include "encode.h" #include "opusenc.h" #include "opus_pvq.h" |