aboutsummaryrefslogtreecommitdiffstats
path: root/src/config-darwin.inc
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-12-14 23:52:28 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-12-14 23:52:28 +0000
commit1024bab19b989a6ad549e835cfb1186068904fcf (patch)
treec35967bd16112348bd8fde6fcb552755f6a3ee93 /src/config-darwin.inc
parentd99a89b60c91b7630ed47f9df67beae41ea65892 (diff)
downloadusdx-1024bab19b989a6ad549e835cfb1186068904fcf.tar.gz
usdx-1024bab19b989a6ad549e835cfb1186068904fcf.tar.xz
usdx-1024bab19b989a6ad549e835cfb1186068904fcf.zip
fix PByteIOContext for ffmpeg-1.2. ffmpeg-0.8 works. ffmpeg-1.2 compiles but no audio and then crashes.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3026 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/config-darwin.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config-darwin.inc b/src/config-darwin.inc
index eff33d4f..edfceb47 100644
--- a/src/config-darwin.inc
+++ b/src/config-darwin.inc
@@ -20,12 +20,15 @@
{$IFNDEF FFMPEG_DIR}
{$IF (8 > 0) or (0 > 0)}
{$DEFINE FFMPEG_DIR := 'ffmpeg-0.8'}
+ {$DEFINE FF_API_OLD_DECODE_AUDIO}
{$ELSE}
{$DEFINE FFMPEG_DIR := 'ffmpeg'}
{$DEFINE useOLD_FFMPEG}
{$IFEND}
{$ENDIF}
{$IF Defined(IncludeConstants)}
+ FFMPEG_VERSION_INT = 8000;
+
av__codec = 'libavcodec';
LIBAVCODEC_VERSION_MAJOR = 53;
LIBAVCODEC_VERSION_MINOR = 8;