Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2011-08-30 20:39:51 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2011-08-30 20:39:51 +0400
commitbe89c395872c57087a6fd0b004ee175677bb3d79 (patch)
tree5227fe9ba9ad7f485a839c3b1db99f059bff494e /src/opus_multistream.c
parent382cad43ce1505a8bc809dd557b8b423d0017e24 (diff)
Using OPUS_ macros for <string.h> operations
Removes a bunch of system #include <...> in the process
Diffstat (limited to 'src/opus_multistream.c')
-rw-r--r--src/opus_multistream.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/opus_multistream.c b/src/opus_multistream.c
index 697cf5b1..49e3d0f8 100644
--- a/src/opus_multistream.c
+++ b/src/opus_multistream.c
@@ -33,9 +33,6 @@
#include "opus.h"
#include "opus_private.h"
#include "stack_alloc.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include <stdarg.h>
#include "float_cast.h"
#include "os_support.h"
@@ -297,7 +294,7 @@ int opus_multistream_encode_float(
}
/* IMPORTANT: Here we assume that the encoder only returned one frame */
tot_size += len;
- memcpy(data, &tmp_data[1], len-1);
+ OPUS_COPY(data, &tmp_data[1], len-1);
}
RESTORE_STACK;
return tot_size;