diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2013-03-30 13:52:02 -0400 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2013-03-30 13:52:02 -0400 |
commit | f2f57d16795efa8083acef17c640bea6c08aa638 (patch) | |
tree | d79d622ff1b9a82117963a645b885b46413ac50d | |
parent | 1d6e618939c1ba9c333d513fc7826719dae34031 (diff) | |
download | ffmpeg-f2f57d16795efa8083acef17c640bea6c08aa638.tar.gz |
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@gmail.com>
-rw-r--r-- | doc/platform.texi | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/doc/platform.texi b/doc/platform.texi index da08962e01..80dd029f12 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: -@example -extern __declspec(dllimport) const AVPixFmtDescriptor av_pix_fmt_descriptors[]; -@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 |