From fc79f056741619c9432fe5f5e99f861e82705a2e Mon Sep 17 00:00:00 2001 From: tobigun Date: Thu, 10 Jan 2008 23:47:40 +0000 Subject: eddie is right: pb is a pointer and not a TByteIOContext struct. I changed the generic Pointer to a PByteIOContext to be more specific. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@778 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/lib/ffmpeg/avformat.pas | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Game/Code/lib/ffmpeg/avformat.pas') diff --git a/Game/Code/lib/ffmpeg/avformat.pas b/Game/Code/lib/ffmpeg/avformat.pas index 4b130dd3..091b8fe0 100644 --- a/Game/Code/lib/ffmpeg/avformat.pas +++ b/Game/Code/lib/ffmpeg/avformat.pas @@ -316,10 +316,9 @@ type oformat: PAVOutputFormat; priv_data: pointer; - //pb: TByteIOContext; - pb: Pointer; // eddie: This is a pointer (at least on OS X) - - nb_streams: cardinal; (* CAT#3 *) + pb: PByteIOContext; + + nb_streams: cardinal; (* CAT#3 *) streams: array [0..MAX_STREAMS - 1] of PAVStream; filename: array [0..1023] of char; (* input or output filename *) (* stream info *) -- cgit v1.2.3