summaryrefslogtreecommitdiff
path: root/apps/codecs/libcook/libavutil/internal.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-05-09 01:21:49 +0000
committerDave Chapman <dave@dchapman.com>2009-05-09 01:21:49 +0000
commit67695617a13e9f37f17e3718b03046f6d748a9e1 (patch)
tree7e8a8b5fb8d4222e3286f3300bcf12ad439424b0 /apps/codecs/libcook/libavutil/internal.h
parent69db01e72f2de91d35703919bfc9d0700df83e85 (diff)
downloadrockbox-67695617a13e9f37f17e3718b03046f6d748a9e1.zip
rockbox-67695617a13e9f37f17e3718b03046f6d748a9e1.tar.gz
rockbox-67695617a13e9f37f17e3718b03046f6d748a9e1.tar.bz2
rockbox-67695617a13e9f37f17e3718b03046f6d748a9e1.tar.xz
The first part of Mohamed Tarek's Google Summer of Code work to implement RealAudio support in Rockbox. This is a self-contained Cook decoder using the original ffmpeg (still floating point) decoder and a new RM parser started by me in 2008 and continued by MT over the past few months. This is the equivalent of libcook.patch1 from FS#10182, but with further cleaning by both MT and me to minimise the differences to the original ffmpeg files. See README.rockbox for more details.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20883 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libcook/libavutil/internal.h')
-rw-r--r--apps/codecs/libcook/libavutil/internal.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/codecs/libcook/libavutil/internal.h b/apps/codecs/libcook/libavutil/internal.h
index 4191aa8..f8f9418 100644
--- a/apps/codecs/libcook/libavutil/internal.h
+++ b/apps/codecs/libcook/libavutil/internal.h
@@ -34,10 +34,10 @@
#include <stdint.h>
#include <stddef.h>
#include <assert.h>
-#include "config.h"
+//#include "ffmpeg_config.h"
#include "common.h"
#include "mem.h"
-#include "timer.h"
+//#include "timer.h"
#ifndef attribute_align_arg
#if (!defined(__ICC) || __ICC > 1100) && AV_GCC_VERSION_AT_LEAST(4,2)
@@ -223,10 +223,10 @@ if((y)<(x)){\
#define realloc please_use_av_realloc
#undef time
#define time time_is_forbidden_due_to_security_issues
-#undef rand
-#define rand rand_is_forbidden_due_to_state_trashing_use_av_random
-#undef srand
-#define srand srand_is_forbidden_due_to_state_trashing_use_av_random_init
+//#undef rand
+//#define rand rand_is_forbidden_due_to_state_trashing_use_av_random
+//#undef srand
+//#define srand srand_is_forbidden_due_to_state_trashing_use_av_random_init
#undef random
#define random random_is_forbidden_due_to_state_trashing_use_av_random
#undef sprintf