summaryrefslogtreecommitdiff
path: root/src/libffmpeg/ff_dvaudio_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/ff_dvaudio_decoder.c')
-rw-r--r--src/libffmpeg/ff_dvaudio_decoder.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/libffmpeg/ff_dvaudio_decoder.c b/src/libffmpeg/ff_dvaudio_decoder.c
index 482ae396e..f08185f6f 100644
--- a/src/libffmpeg/ff_dvaudio_decoder.c
+++ b/src/libffmpeg/ff_dvaudio_decoder.c
@@ -40,26 +40,7 @@
#include "buffer.h"
#include "xineutils.h"
-#ifdef _MSC_VER
-/* ffmpeg has own definitions of those types */
-# undef int8_t
-# undef uint8_t
-# undef int16_t
-# undef uint16_t
-# undef int32_t
-# undef uint32_t
-# undef int64_t
-# undef uint64_t
-#endif
-
-#include <avcodec.h>
-#include <dvdata.h> /* This is not installed by FFmpeg, its usage has to be cleared up */
-
-#ifdef _MSC_VER
-# undef malloc
-# undef free
-# undef realloc
-#endif
+#include "ff_dvdata.h" /* This is not installed by FFmpeg, its usage has to be cleared up */
#define AUDIOBUFSIZE 128*1024
#define MAXFRAMESIZE 131072