Logo
Explore Help
Sign In
1berry/FFmpeg
1
0
Fork 0
You've already forked FFmpeg
Code Issues Packages Projects Releases Wiki Activity
FFmpeg/libavformat/file_open.c

2 lines
33 B
C
Raw Permalink Normal View History

libavutil: Make avpriv_open a library-internal function on msvcrt Add one copy of the function into each of the libraries, similarly to what we do for log2_tab. When using static libs, only one copy of the file_open.o object file gets included, while when using shared libraries, each of them get a copy of its own. This fixes DLL builds with a statically linked C runtime, where each DLL effectively has got its own instance of the C runtime, where file descriptors can't be shared across runtimes. On systems not using msvcrt, the function is not duplicated. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-09 11:06:46 +03:00
#include "libavutil/file_open.c"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 2470ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API