I'm trying to cross compile version 2.0.4 for windows, but when I get to the final step ('make'), I get the error: 'DXVA_NoEncrypt' undeclared. Do you have any idea why that would be (or what I should do about it)? Here's the make output:
Code: Select all
In file included from ../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:39:0:
../../../../extras/package/win32/../../../include/vlc_common.h:405:0: warning: "stat" redefined [enabled by default]
/usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/sys/stat.h:255:0: note: this is the location of the previous definition
../../../../extras/package/win32/../../../include/vlc_common.h:406:0: warning: "fstat" redefined [enabled by default]
/usr/lib/gcc/i686-w64-mingw32/4.6/../../../../i686-w64-mingw32/include/sys/stat.h:256:0: note: this is the location of the previous definition
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c: In function 'DxCreateVideoDecoder':
../../../../extras/package/win32/../../../modules/codec/avcodec/dxva2.c:955:13: error: 'DXVA_NoEncrypt' undeclared (first use in this function)