Closed K0F closed 6 years ago
Ok, adding:
#undef av_err2str
#define av_err2str(errnum) av_make_error_string((char*)__builtin_alloca(AV_ERROR_MAX_STRING_SIZE),AV_ERROR_MAX_STRING_SIZE, errnum)
before line 91 in mainwindow.cpp should fix 4.8.5 compiler error
Thanks. I've added this change to 2.3.2
GCC compiler (4.8.5) throws an error:
mainwindow.cpp:93:27: error: taking address of temporary array that line in source is:
#define aeo_av_err2str(n) av_err2str(n)
is there any workaround, I have tried defining
-std=c++11
and removing#define
with no luck so farThanks for any advice