aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffmpeg
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-10-31 15:45:18 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-10-31 15:45:18 +0000
commitda91f86e54d9f87dd28a7558b5a6e930362c3803 (patch)
tree426bc5057e6b8c7de69ecaa78dc1e44c1893d1d2 /src/lib/ffmpeg
parent8f3b4a5e422bc583cbca1a798c8a765c84b724f9 (diff)
downloadusdx-da91f86e54d9f87dd28a7558b5a6e930362c3803.tar.gz
usdx-da91f86e54d9f87dd28a7558b5a6e930362c3803.tar.xz
usdx-da91f86e54d9f87dd28a7558b5a6e930362c3803.zip
- swscale get_context parameter from cint -> TAVPixelFormat
- some refactoring missed last time git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1489 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib/ffmpeg')
-rw-r--r--src/lib/ffmpeg/swscale.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ffmpeg/swscale.pas b/src/lib/ffmpeg/swscale.pas
index fb57296f..965659d9 100644
--- a/src/lib/ffmpeg/swscale.pas
+++ b/src/lib/ffmpeg/swscale.pas
@@ -152,7 +152,8 @@ type
procedure sws_freeContext(swsContext: PSwsContext);
cdecl; external sw__scale;
-function sws_getContext(srcW: cint; srcH: cint; srcFormat: cint; dstW: cint; dstH: cint; dstFormat: cint; flags: cint;
+function sws_getContext(srcW: cint; srcH: cint; srcFormat: TAVPixelFormat;
+ dstW: cint; dstH: cint; dstFormat: TAVPixelFormat; flags: cint;
srcFilter: PSwsFilter; dstFilter: PSwsFilter; param: PCdouble): PSwsContext;
cdecl; external sw__scale;
function sws_scale(context: PSwsContext; src: PPCuint8Array; srcStride: PCintArray; srcSliceY: cint; srcSliceH: cint;