[FFmpeg-cvslog] avcodec/opusenc_utils: add missing preprocessor guards
James Almer
git at videolan.org
Sat Sep 23 19:24:28 EEST 2017
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Sep 23 13:22:51 2017 -0300| [b8eaecbf39a59fce256ee5ffa7c51dd44c83bec1] | committer: James Almer
avcodec/opusenc_utils: add missing preprocessor guards
Fixes fate-source.
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b8eaecbf39a59fce256ee5ffa7c51dd44c83bec1
---
libavcodec/opusenc_utils.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libavcodec/opusenc_utils.h b/libavcodec/opusenc_utils.h
index 8b9c5bffaf..be82e13767 100644
--- 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 */
More information about the ffmpeg-cvslog
mailing list