From be89c395872c57087a6fd0b004ee175677bb3d79 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Tue, 30 Aug 2011 12:39:51 -0400 Subject: Using OPUS_ macros for operations Removes a bunch of system #include <...> in the process --- src/opus_multistream.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/opus_multistream.c') 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 -#include -#include #include #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; -- cgit v1.2.3