Found-by: ubitux Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> --- libavutil/internal.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/libavutil/internal.h b/libavutil/internal.h index a19975d474..e97034887b 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -243,8 +243,12 @@ void avpriv_request_sample(void *avc, #pragma comment(linker, "/include:" EXTERN_PREFIX "avpriv_snprintf") #endif +// Rename shared function (both use and implementation of them) so they are not shared +// and each library carries its own copy of a implementation, this is needed as +// the fd numbers are not transportable between libs on windows #define avpriv_open ff_open #define avpriv_tempfile ff_tempfile + #define PTRDIFF_SPECIFIER "Id" #define SIZE_SPECIFIER "Iu" #else -- 2.11.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel