aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-13 20:04:50 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-13 20:04:50 +0000
commitda0500ede1f7e4a518193b3caabfd72be2555c61 (patch)
tree69d0b5cb1e829a742f2f0546d48af525ce7ac918 /src
parentb3d15a8d334d7f56a2897d9a98eaf55ae7978b55 (diff)
downloadusdx-da0500ede1f7e4a518193b3caabfd72be2555c61.tar.gz
usdx-da0500ede1f7e4a518193b3caabfd72be2555c61.tar.xz
usdx-da0500ede1f7e4a518193b3caabfd72be2555c61.zip
Hint about removal of deprecated function img_convert added, but no code change
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1724 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/media/UVideo.pas6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/media/UVideo.pas b/src/media/UVideo.pas
index 35f8ab4d..f55690b2 100644
--- a/src/media/UVideo.pas
+++ b/src/media/UVideo.pas
@@ -697,6 +697,12 @@ begin
0, fCodecContext^.Height,
@(fAVFrameRGB.data), @(fAVFrameRGB.linesize));
{$ELSE}
+ // img_convert from lib/ffmpeg/avcodec.pas is actually deprecated.
+ // If ./configure does not find SWScale then this gives the error
+ // that the identifier img_convert is not known or similar.
+ // I think this should be removed, but am not sure whether there should
+ // be some other replacement or a warning, Therefore, I leave it for now.
+ // April 2009, mischi
errnum := img_convert(PAVPicture(fAVFrameRGB), PIXEL_FMT_FFMPEG,
PAVPicture(fAVFrame), fCodecContext^.pix_fmt,
fCodecContext^.width, fCodecContext^.height);