Skip to content
Snippets Groups Projects
Verified Commit b1394c58 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Add missing include guards and config.h

parent 8dc345fe
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,9 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef LAPLACE_H
#define LAPLACE_H
#include "entenc.h"
#include "entdec.h"
......@@ -49,4 +52,6 @@ int ec_laplace_decode(ec_dec *dec, unsigned fs, int decay);
int ec_laplace_decode_p0(ec_dec *dec, opus_uint16 p0, opus_uint16 decay);
void ec_laplace_encode_p0(ec_enc *enc, int value, opus_uint16 p0, opus_uint16 decay);
\ No newline at end of file
void ec_laplace_encode_p0(ec_enc *enc, int value, opus_uint16 p0, opus_uint16 decay);
#endif
Subproject commit 2f719a503d284fb4f05d097d95a85c496473f5a1
Subproject commit 3f09d5fa52f6606f60d5e440b1ea8cf730e144e7
......@@ -25,6 +25,9 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef DRED_DECODER_H
#define DRED_DECODER_H
#include "opus.h"
#include "dred_config.h"
#include "dred_rdovae.h"
......@@ -40,3 +43,5 @@ struct OpusDRED {
int dred_ec_decode(OpusDRED *dec, const opus_uint8 *bytes, int num_bytes, int min_feature_frames);
#endif
......@@ -29,6 +29,10 @@
* http://lists.xiph.org/pipermail/opus/2012-November/001834.html
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment