projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
039ebaa
)
avcodec/opusenc_utils: add missing preprocessor guards
author
James Almer
<jamrial@gmail.com>
Sat, 23 Sep 2017 16:22:51 +0000
(13:22 -0300)
committer
James Almer
<jamrial@gmail.com>
Sat, 23 Sep 2017 16:22:51 +0000
(13:22 -0300)
Fixes fate-source.
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/opusenc_utils.h
patch
|
blob
|
history
diff --git
a/libavcodec/opusenc_utils.h
b/libavcodec/opusenc_utils.h
index
8b9c5bf
..
be82e13
100644
(file)
--- a/
libavcodec/opusenc_utils.h
+++ b/
libavcodec/opusenc_utils.h
@@
-19,6
+19,9
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef AVCODEC_OPUSENC_UTILS_H
+#define AVCODEC_OPUSENC_UTILS_H
+
#include "opus.h"
typedef struct FFBesselFilter {
@@
-80,3
+83,5
@@
static inline float bessel_filter(FFBesselFilter *s, float x)
s->y[0] = s->a[0]*s->x[0] + s->a[1]*s->x[1] + s->a[2]*s->x[2] + s->b[0]*s->y[1] + s->b[1]*s->y[2];
return s->y[0];
}
+
+#endif /* AVCODEC_OPUSENC_UTILS_H */