aboutsummaryrefslogtreecommitdiffstats
path: root/src/media
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2012-10-20 09:30:12 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2012-10-20 09:30:12 +0000
commit3b2d51820756803606857945daa48195e3671f3d (patch)
tree56b959b2da6ebf900d21ee46e218226ca98afd62 /src/media
parentb640ebf40400b0933c377dd6728fffc83a927b42 (diff)
downloadusdx-3b2d51820756803606857945daa48195e3671f3d.tar.gz
usdx-3b2d51820756803606857945daa48195e3671f3d.tar.xz
usdx-3b2d51820756803606857945daa48195e3671f3d.zip
fix version detection of libavformat
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2930 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/media/UVideo.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media/UVideo.pas b/src/media/UVideo.pas
index 096860c0..0fc86ac4 100644
--- a/src/media/UVideo.pas
+++ b/src/media/UVideo.pas
@@ -702,7 +702,7 @@ begin
fCodecContext^.opaque := @VideoPktPts;
// decode packet
- {$IF LIBAVFORMAT_VERSION < 5212200)}
+ {$IF LIBAVFORMAT_VERSION < 52012200)}
avcodec_decode_video(fCodecContext, fAVFrame,
frameFinished, AVPacket.data, AVPacket.size);
{$ELSE}