I was following along the build instructions for VS in section 4.2 at
http://www.libav.org/platform.html.
Visual Studio 2015 must have changed stdio.h somehow. I see the macro
redefinition in the make lines, and somehow stdio.h doesn't like it.
Is there a work around?
This is the build
On 05/06/15 13:23, Raymond Burkholder wrote:
-Dsnprintf=avpriv_snprintf
-D_snprintf=avpriv_snprintf -Dvsnprintf=avpriv_vsnprintf
If the printf functions are now standard compliant maybe those macros
can be dropped.
Otherwise I do not see how that trap could be dropped w/out editing it out.
The C runtime C99 compatibility had been improved a lot and it now
rejects some of the compatibility defines provided for the older
versions.
Bug-Id: 864
CC: libav-sta...@libav.org
---
Thanks to Hugo, Thomas and Rob for getting me the crtversion.h when I asked it.
configure | 16
On Fri, Jun 5, 2015 at 3:24 PM, Luca Barbato lu_z...@gentoo.org wrote:
The C runtime C99 compatibility had been improved a lot and it now
rejects some of the compatibility defines provided for the older
versions.
Bug-Id: 864
CC: libav-sta...@libav.org
---
Thanks to Hugo, Thomas and Rob
Something along those lines I guess:
diff --git a/configure b/configure
index 18f0518..c8a799d 100755
--- a/configure
+++ b/configure
@@ -3021,9 +3021,6 @@ probe_cc(){
_ld_path='-libpath:'
_flags='-nologo'
_cflags='-D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS
The C runtime C99 compatibility had been improved a lot and it now
rejects some of the compatibility defines provided for the older
versions.
Many thanks to Ray for the time spent testing.
Bug-Id: 864
CC: libav-sta...@libav.org
---
Disable the pragma linking trick as well.
configure
On Fri, Jun 5, 2015 at 11:21 PM, Luca Barbato lu_z...@gentoo.org wrote:
---
While writing some documentation I noticed this is strangely missing.
libavformat/avio.h| 12
libavformat/aviobuf.c | 34 --
2 files changed, 32 insertions(+), 14
---
While writing some documentation I noticed this is strangely missing.
libavformat/avio.h| 12
libavformat/aviobuf.c | 34 --
2 files changed, 32 insertions(+), 14 deletions(-)
diff --git a/libavformat/avio.h b/libavformat/avio.h
index
On 02/06/15 8:09 AM, Vittorio Giovara wrote:
+/* Alpha compression function */
+static void compress_alpha(uint8_t *dst, ptrdiff_t stride, const uint8_t
*block)
+{
+int i, j;
+int dist, bias, dist4, dist2, bits, mask;
+int mn, mx;
+
+/* Find min/max color */
+mn = mx