From 84b836b0733a9b12e50be4adadea349591413973 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Thu, 26 Aug 2010 00:55:55 +0000 Subject: fix compilation on windows. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2628 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/lib/ffmpeg/avformat.pas | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib/ffmpeg/avformat.pas b/src/lib/ffmpeg/avformat.pas index e6edddb2..bd13c70e 100644 --- a/src/lib/ffmpeg/avformat.pas +++ b/src/lib/ffmpeg/avformat.pas @@ -231,7 +231,7 @@ function av_metadata_set(var pm: PAVMetadata; key: {const} PAnsiChar; value: {co *) function av_metadata_set(var pm: PAVMetadata; key: {const} PAnsiChar; value: {const} PAnsiChar): cint; cdecl; external av__format; deprecated; - {$IFEND} + {$ENDIF} {$IFEND} {$IF LIBAVFORMAT_VERSION >= 52043000} // >= 52.43.0 @@ -436,7 +436,7 @@ const {$ELSE} {$IFDEF FF_API_MAX_STREAMS} MAX_STREAMS = 20; - {$IFEND} + {$ENDIF} {$IFEND} @@ -550,7 +550,7 @@ type {$ELSE} {$IFDEF FF_API_OLD_METADATA} title: PAnsiChar; ///< chapter title - {$IFEND} + {$ENDIF} {$IFEND} {$IF LIBAVFORMAT_VERSION >= 52024001} // 52.24.1 metadata: PAVMetadata; @@ -859,7 +859,7 @@ type {$ELSE} {$IFDEF FF_API_OLD_METADATA} language: array [0..3] of PAnsiChar; (**< ISO 639-2/B 3-letter language code (empty string if undefined) *) - {$IFEND} + {$ENDIF} {$IFEND} (* av_read_frame() support *) @@ -886,7 +886,7 @@ type {$ELSE} {$IFDEF FF_API_OLD_METADATA} filename: PAnsiChar; (**< source filename of the stream *) - {$IFEND} + {$ENDIF} {$IFEND} {$IF LIBAVFORMAT_VERSION >= 52008000} // 52.8.0 @@ -1003,7 +1003,7 @@ type year: cint; (**< ID3 year, 0 if none *) track: cint; (**< track number, 0 if none *) genre: array [0..31] of AnsiChar; (**< ID3 genre *) - {$IFEND} + {$ENDIF} {$IFEND} ctx_flags: cint; (**< Format-specific flags, see AVFMTCTX_xx *) @@ -1198,7 +1198,7 @@ type {$IFDEF FF_API_OLD_METADATA} provider_name : PAnsiChar; ///< network name for DVB streams name : PAnsiChar; ///< service name for DVB streams - {$IFEND} + {$ENDIF} {$IFEND} flags : cint; discard : TAVDiscard; ///< selects which program to discard and which to feed to the caller -- cgit v1.2.3