Hi, if I try to build a software where there is a function
*av_err2str(ret)*
I obtain the error
/home/denis/Cpp/ffmpeg-6.0/libavutil/error.h:122: *error: taking address of
temporary array*
In file included from ../../ffmpeg-6.0/libavutil/avutil.h:297,
from ../../ffmpeg-6.0/libavcodec/avcodec.h:32,
from ../ffmpegTest/main.cpp:12:
../../ffmpeg-6.0/libavutil/error.h:122:58: error: taking address of temporary
array
122 | av_make_error_string((char[AV_ERROR_MAX_STRING_SIZE]){0},
AV_ERROR_MAX_STRING_SIZE, errnum)
| ^~~
../ffmpegTest/main.cpp:598:9: note: in expansion of macro ‘av_err2str’
598 | av_err2str(ret)
| ^~~~~~~~~~
I'm in c++17 environment
--
+39.347.4070897
http://www.labcsp.com[1]
http://www.denisgottardello.it[2]
GMT+1
Skype: mrdebug
--------
[1] http://www.labcsp.com
[2] http://www.denisgottardello.it
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".