From: Anonymous Maarten
These defines should be passed by pkg-config.
---
libavcodec/libx264.c | 4
1 file changed, 4 deletions(-)
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 54e6703d73..b6f4c102c4 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -29,10
From: Anonymous Maarten
The defines should be passed by pkg-config.
Signed-off-by: Anonymous Maarten
---
libavcodec/libx265.c | 4
1 file changed, 4 deletions(-)
diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index 27c90b323f..f794205198 100644
--- a/libavcodec/libx265.c
+++ b
When building ffmpeg on Visual Studio,
libavcodec/libx264.c and libavcodec/libx265.c assume that
ffmpeg is linked to a dynamic libx264 and libx265 library.
Instead, this information is delivered by pkg-config.
Linking ffmpeg to a static libx264 causes LNK4049 warnings to be emitted.
Because warn
Hey,
Building the static ffmpeg library using vcpkg is currently broken [1][2].
This is mainly due to the fact that the built static libraries are .a files
with lib prefixes.
The attached patch sets the lib prefix to "" and the lib suffix to ".lib".
Tested by building ffmpeg using vcpkg and Visu
rrent names, however.
I would be equally happy if there would be a way (using configure
arguments?) to set these two parameters.
[1]
https://github.com/Microsoft/vcpkg/blob/084b1afe9af1690916fab95bbb80c6891109f0fc/ports/ffmpeg/CONTROL
Thanks.
On 27 September 2017 at 16:43, Anonymous Maarten <
manually set the pre/suffix.
Maarten
On 27 September 2017 at 22:26, Hendrik Leppkes wrote:
> On Wed, Sep 27, 2017 at 10:11 PM, Mateusz wrote:
>> W dniu 2017-09-27 o 17:40, Hendrik Leppkes pisze:
>>> On Wed, Sep 27, 2017 at 4:43 PM, Anonymous Maarten
>>> wrote:
>&