[FFmpeg-cvslog] doc/platform: Remove part about dllimport

Derek Buitenhuis git at videolan.org
Sun Mar 31 11:39:18 CEST 2013


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Sat Mar 30 13:52:02 2013 -0400| [f2f57d16795efa8083acef17c640bea6c08aa638] | committer: Derek Buitenhuis

doc/platform: Remove part about dllimport

Only deprecated things need this at all anymore, as we have functions
to access them or they are no longer needed.

The document should not encourage use of deprecated APIs.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2f57d16795efa8083acef17c640bea6c08aa638
---

 doc/platform.texi |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/doc/platform.texi b/doc/platform.texi
index da08962..80dd029 100644
--- a/doc/platform.texi
+++ b/doc/platform.texi
@@ -179,16 +179,7 @@ If you plan to link with MSVC-built static libraries, you will need
 to make sure you have @code{Runtime Library} set to
 @code{Multi-threaded (/MT)} in your project's settings.
 
-Libav headers do not declare global data for Windows DLLs through the usual
-dllexport/dllimport interface. Such data will be exported properly while
-building, but to use them in your MSVC code you will have to edit the
-appropriate headers and mark the data as dllimport. For example, in
-libavutil/pixdesc.h you should have:
- at example
-extern __declspec(dllimport) const AVPixFmtDescriptor av_pix_fmt_descriptors[];
- at end example
-
-You will also need to define @code{inline} to something MSVC understands:
+You will need to define @code{inline} to something MSVC understands:
 @example
 #define inline __inline
 @end example



More information about the ffmpeg-cvslog mailing list