* Package: media-sound/karlyriceditor-2.2-r1 * Repository: gentoo * Maintainer: sound@gentoo.org qt@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking karlyriceditor-2.2.tar.gz to /var/tmp/portage/media-sound/karlyriceditor-2.2-r1/work >>> Source unpacked in /var/tmp/portage/media-sound/karlyriceditor-2.2-r1/work >>> Preparing source in /var/tmp/portage/media-sound/karlyriceditor-2.2-r1/work/karlyriceditor-2.2 ... * Applying karlyriceditor-2.2-ffmpeg-4.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/karlyriceditor-2.2-r1/work/karlyriceditor-2.2 ... * Running qmake ... Info: creating stash file /var/tmp/portage/media-sound/karlyriceditor-2.2-r1/work/karlyriceditor-2.2/.qmake.stash [ ok ] >>> Source configured. >>> Compiling source in /var/tmp/portage/media-sound/karlyriceditor-2.2-r1/work/karlyriceditor-2.2 ... make -j1 cd src/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /var/tmp/portage/media-sound/karlyriceditor-2.2-r1/work/karlyriceditor-2.2/src/src.pro 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-O2 -pipe -march=native' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe -march=native' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= ) && make -f Makefile make[1]: Entering directory '/var/tmp/portage/media-sound/karlyriceditor-2.2-r1/work/karlyriceditor-2.2/src' /usr/lib64/qt5/bin/uic mainwindow.ui -o ui_mainwindow.h /usr/lib64/qt5/bin/uic wiznewproject_lyrictype.ui -o ui_wiznewproject_lyrictype.h /usr/lib64/qt5/bin/uic wiznewproject_intro.ui -o ui_wiznewproject_intro.h /usr/lib64/qt5/bin/uic wiznewproject_finish.ui -o ui_wiznewproject_finish.h /usr/lib64/qt5/bin/uic wiznewproject_musicfile.ui -o ui_wiznewproject_musicfile.h /usr/lib64/qt5/bin/uic playerwidget.ui -o ui_playerwidget.h /usr/lib64/qt5/bin/uic viewwidget.ui -o ui_viewwidget.h /usr/lib64/qt5/bin/uic dialog_about.ui -o ui_dialog_about.h /usr/lib64/qt5/bin/uic dialog_projectsettings.ui -o ui_dialog_projectsettings.h /usr/lib64/qt5/bin/uic dialog_settings.ui -o ui_dialog_settings.h /usr/lib64/qt5/bin/uic dialog_selectencoding.ui -o ui_dialog_selectencoding.h /usr/lib64/qt5/bin/uic gentlemessagebox.ui -o ui_gentlemessagebox.h /usr/lib64/qt5/bin/uic dialog_export_params.ui -o ui_dialog_export_params.h /usr/lib64/qt5/bin/uic dialog_encodingprogress.ui -o ui_dialog_encodingprogress.h /usr/lib64/qt5/bin/uic dialog_testwindow.ui -o ui_dialog_testwindow.h /usr/lib64/qt5/bin/uic dialog_registration.ui -o ui_dialog_registration.h /usr/lib64/qt5/bin/uic dialog_timeadjustment.ui -o ui_dialog_timeadjustment.h /usr/lib64/qt5/bin/uic video_profile_dialog.ui -o ui_video_profile_dialog.h x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o mainwindow.o mainwindow.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o wizard_newproject.o wizard_newproject.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o project.o project.cpp project.cpp: In member function ‘bool Project::importLyricsTxt(const QStringList&, Lyrics&)’: project.cpp:1009:46: warning: comparison of constant ‘-1’ with boolean expression is always true [-Wbool-compare] else if ( readlyrics.contains( "PAGEV2") != -1 ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ project.cpp:1009:10: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] else if ( readlyrics.contains( "PAGEV2") != -1 ) ^~ project.cpp:1012:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ QMessageBox::critical( 0, ^~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o playerwidget.o playerwidget.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o playerbutton.o playerbutton.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o editor.o editor.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o settings.o settings.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o viewwidget.o viewwidget.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o testwindow.o testwindow.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o lyrics.o lyrics.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o projectsettings.o projectsettings.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o recentfiles.o recentfiles.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o colorbutton.o colorbutton.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o dialog_selectencoding.o dialog_selectencoding.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o gentlemessagebox.o gentlemessagebox.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o checknewversion.o checknewversion.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o cdgrenderer.o cdgrenderer.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o cdggenerator.o cdggenerator.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o editorhighlighting.o editorhighlighting.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o lyricsrenderer.o lyricsrenderer.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o textrenderer.o textrenderer.cpp textrenderer.cpp: In member function ‘void TextRenderer::drawLyrics(int, int, const QRect&)’: textrenderer.cpp:576:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if ( m_cdgMode ) ^~ textrenderer.cpp:580:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ QFont curFont( m_renderFont ); ^~~~~ textrenderer.cpp: In member function ‘void TextRenderer::drawPreamble()’: textrenderer.cpp:696:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if ( m_cdgMode ) ^~ textrenderer.cpp:700:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ for ( int i = 0; i < (int) m_preambleCount; i++ ) ^~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o lyricswidget.o lyricswidget.cpp x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o ffmpegvideodecoder.o ffmpegvideodecoder.cpp ffmpegvideodecoder.cpp: In member function ‘bool FFMpegVideoDecoder::openFile(const QString&, unsigned int)’: ffmpegvideodecoder.cpp:123:60: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] d->pCodecCtx = d->pFormatCtx->streams[d->videoStream]->codec; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideodecoder.cpp:20: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideodecoder.cpp:123:60: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] d->pCodecCtx = d->pFormatCtx->streams[d->videoStream]->codec; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideodecoder.cpp:20: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideodecoder.cpp:123:60: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] d->pCodecCtx = d->pFormatCtx->streams[d->videoStream]->codec; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideodecoder.cpp:20: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideodecoder.cpp:158:81: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations] AV_PIX_FMT_RGB24, d->pCodecCtx->width, d->pCodecCtx->height ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideodecoder.cpp:20: /usr/include/libavcodec/avcodec.h:5435:5: note: declared here int avpicture_fill(AVPicture *picture, const uint8_t *ptr, ^~~~~~~~~~~~~~ ffmpegvideodecoder.cpp:158:81: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations] AV_PIX_FMT_RGB24, d->pCodecCtx->width, d->pCodecCtx->height ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideodecoder.cpp:20: /usr/include/libavcodec/avcodec.h:5435:5: note: declared here int avpicture_fill(AVPicture *picture, const uint8_t *ptr, ^~~~~~~~~~~~~~ ffmpegvideodecoder.cpp: In member function ‘bool FFMpegVideoDecoderPriv::readFrame(int)’: ffmpegvideodecoder.cpp:205:70: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations] avcodec_decode_video2( pCodecCtx, pFrame, &frameFinished, &packet ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideodecoder.cpp:20: /usr/include/libavcodec/avcodec.h:4771:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^~~~~~~~~~~~~~~~~~~~~ ffmpegvideodecoder.cpp:205:70: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations] avcodec_decode_video2( pCodecCtx, pFrame, &frameFinished, &packet ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideodecoder.cpp:20: /usr/include/libavcodec/avcodec.h:4771:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^~~~~~~~~~~~~~~~~~~~~ ffmpegvideodecoder.cpp:236:27: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] av_free_packet( &packet ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideodecoder.cpp:20: /usr/include/libavcodec/avcodec.h:4416:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ ffmpegvideodecoder.cpp:236:27: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] av_free_packet( &packet ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideodecoder.cpp:20: /usr/include/libavcodec/avcodec.h:4416:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -W -D_REENTRANT -fPIC -DUSE_LICENSING -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o ffmpegvideoencoder.o ffmpegvideoencoder.cpp ffmpegvideoencoder.cpp: In member function ‘bool FFMpegVideoEncoderPriv::close()’: ffmpegvideoencoder.cpp:152:41: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] avcodec_close( videoStream->codec ); ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:152:41: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] avcodec_close( videoStream->codec ); ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:152:41: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] avcodec_close( videoStream->codec ); ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:153:41: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] avcodec_close( audioStream->codec ); ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:153:41: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] avcodec_close( audioStream->codec ); ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:153:41: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] avcodec_close( audioStream->codec ); ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp: In member function ‘void FFMpegVideoEncoderPriv::flush()’: ffmpegvideoencoder.cpp:250:74: warning: ‘int avcodec_encode_audio2(AVCodecContext*, AVPacket*, const AVFrame*, int*)’ is deprecated [-Wdeprecated-declarations] if ( (err = avcodec_encode_audio2( audioCodecCtx, &pkt, 0, &got_output )) < 0 ) ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:5363:5: note: declared here int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, ^~~~~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:250:74: warning: ‘int avcodec_encode_audio2(AVCodecContext*, AVPacket*, const AVFrame*, int*)’ is deprecated [-Wdeprecated-declarations] if ( (err = avcodec_encode_audio2( audioCodecCtx, &pkt, 0, &got_output )) < 0 ) ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:5363:5: note: declared here int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, ^~~~~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:261:24: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] if ( audioCodecCtx->coded_frame && audioCodecCtx->coded_frame->pts != AV_NOPTS_VALUE ) ^~~~~~~~~~~ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:2776:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ ffmpegvideoencoder.cpp:261:24: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] if ( audioCodecCtx->coded_frame && audioCodecCtx->coded_frame->pts != AV_NOPTS_VALUE ) ^~~~~~~~~~~ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:2776:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ ffmpegvideoencoder.cpp:261:24: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] if ( audioCodecCtx->coded_frame && audioCodecCtx->coded_frame->pts != AV_NOPTS_VALUE ) ^~~~~~~~~~~ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:2776:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ ffmpegvideoencoder.cpp:261:54: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] if ( audioCodecCtx->coded_frame && audioCodecCtx->coded_frame->pts != AV_NOPTS_VALUE ) ^~~~~~~~~~~ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:2776:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ ffmpegvideoencoder.cpp:261:54: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] if ( audioCodecCtx->coded_frame && audioCodecCtx->coded_frame->pts != AV_NOPTS_VALUE ) ^~~~~~~~~~~ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:2776:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ ffmpegvideoencoder.cpp:261:54: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] if ( audioCodecCtx->coded_frame && audioCodecCtx->coded_frame->pts != AV_NOPTS_VALUE ) ^~~~~~~~~~~ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:2776:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ ffmpegvideoencoder.cpp:262:44: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] pkt.pts = av_rescale_q( audioCodecCtx->coded_frame->pts, audioCodecCtx->time_base, audioStream->time_base ); ^~~~~~~~~~~ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:2776:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ ffmpegvideoencoder.cpp:262:44: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] pkt.pts = av_rescale_q( audioCodecCtx->coded_frame->pts, audioCodecCtx->time_base, audioStream->time_base ); ^~~~~~~~~~~ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:2776:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ ffmpegvideoencoder.cpp:262:44: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] pkt.pts = av_rescale_q( audioCodecCtx->coded_frame->pts, audioCodecCtx->time_base, audioStream->time_base ); ^~~~~~~~~~~ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:2776:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ ffmpegvideoencoder.cpp:272:25: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] av_free_packet( &pkt ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:4416:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:272:25: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] av_free_packet( &pkt ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:4416:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ ffmpegvideoencoder.cpp: In member function ‘bool FFMpegVideoEncoderPriv::createFile(const QString&)’: ffmpegvideoencoder.cpp:392:18: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] videoStream->codec = videoCodecCtx; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:392:18: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] videoStream->codec = videoCodecCtx; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:392:18: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] videoStream->codec = videoCodecCtx; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:417:17: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘pts’ audioStream->pts.num = origAudioStream->pts.num; ^~~ ffmpegvideoencoder.cpp:417:44: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘pts’ audioStream->pts.num = origAudioStream->pts.num; ^~~ ffmpegvideoencoder.cpp:418:17: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘pts’ audioStream->pts.den = origAudioStream->pts.den; ^~~ ffmpegvideoencoder.cpp:418:44: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘pts’ audioStream->pts.den = origAudioStream->pts.den; ^~~ ffmpegvideoencoder.cpp:420:52: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] AVCodecContext * newCtx = audioStream->codec; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:420:52: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] AVCodecContext * newCtx = audioStream->codec; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:420:52: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] AVCodecContext * newCtx = audioStream->codec; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:512:17: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioStream->codec = audioCodecCtx; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:512:17: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioStream->codec = audioCodecCtx; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:512:17: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioStream->codec = audioCodecCtx; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:515:48: warning: ‘AVAudioResampleContext* avresample_alloc_context()’ is deprecated [-Wdeprecated-declarations] audioResampleCtx = avresample_alloc_context(); ^ In file included from ffmpeg_headers.h:35, from ffmpegvideoencoder.cpp:26: /usr/include/libavresample/avresample.h:194:25: note: declared here AVAudioResampleContext *avresample_alloc_context(void); ^~~~~~~~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:515:48: warning: ‘AVAudioResampleContext* avresample_alloc_context()’ is deprecated [-Wdeprecated-declarations] audioResampleCtx = avresample_alloc_context(); ^ In file included from ffmpeg_headers.h:35, from ffmpegvideoencoder.cpp:26: /usr/include/libavresample/avresample.h:194:25: note: declared here AVAudioResampleContext *avresample_alloc_context(void); ^~~~~~~~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:537:44: warning: ‘int avresample_open(AVAudioResampleContext*)’ is deprecated [-Wdeprecated-declarations] err = avresample_open( audioResampleCtx ); ^ In file included from ffmpeg_headers.h:35, from ffmpegvideoencoder.cpp:26: /usr/include/libavresample/avresample.h:214:5: note: declared here int avresample_open(AVAudioResampleContext *avr); ^~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:537:44: warning: ‘int avresample_open(AVAudioResampleContext*)’ is deprecated [-Wdeprecated-declarations] err = avresample_open( audioResampleCtx ); ^ In file included from ffmpeg_headers.h:35, from ffmpegvideoencoder.cpp:26: /usr/include/libavresample/avresample.h:214:5: note: declared here int avresample_open(AVAudioResampleContext *avr); ^~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:552:42: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioFrame->nb_samples = audioStream->codec->frame_size; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:552:42: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioFrame->nb_samples = audioStream->codec->frame_size; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:552:42: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioFrame->nb_samples = audioStream->codec->frame_size; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:553:38: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioFrame->format = audioStream->codec->sample_fmt; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:553:38: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioFrame->format = audioStream->codec->sample_fmt; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:553:38: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioFrame->format = audioStream->codec->sample_fmt; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:554:46: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioFrame->channel_layout = audioStream->codec->channel_layout; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:554:46: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioFrame->channel_layout = audioStream->codec->channel_layout; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:554:46: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioFrame->channel_layout = audioStream->codec->channel_layout; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:567:60: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if ( avcodec_fill_audio_frame( audioFrame, audioStream->codec->channels, audioStream->codec->sample_fmt, (const uint8_t*) audioSampleBuffer, audioSampleBuffer_size, 0 ) < 0 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:567:60: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if ( avcodec_fill_audio_frame( audioFrame, audioStream->codec->channels, audioStream->codec->sample_fmt, (const uint8_t*) audioSampleBuffer, audioSampleBuffer_size, 0 ) < 0 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:567:60: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if ( avcodec_fill_audio_frame( audioFrame, audioStream->codec->channels, audioStream->codec->sample_fmt, (const uint8_t*) audioSampleBuffer, audioSampleBuffer_size, 0 ) < 0 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:567:90: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audio_frame( audioFrame, audioStream->codec->channels, audioStream->codec->sample_fmt, (const uint8_t*) audioSampleBuffer, audioSampleBuffer_size, 0 ) < 0 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:567:90: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audio_frame( audioFrame, audioStream->codec->channels, audioStream->codec->sample_fmt, (const uint8_t*) audioSampleBuffer, audioSampleBuffer_size, 0 ) < 0 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:567:90: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audio_frame( audioFrame, audioStream->codec->channels, audioStream->codec->sample_fmt, (const uint8_t*) audioSampleBuffer, audioSampleBuffer_size, 0 ) < 0 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:573:31: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if ( audioStream->codec->block_align == 1 && audioStream->codec->codec_id == AV_CODEC_ID_MP3 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:573:31: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if ( audioStream->codec->block_align == 1 && audioStream->codec->codec_id == AV_CODEC_ID_MP3 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:573:31: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if ( audioStream->codec->block_align == 1 && audioStream->codec->codec_id == AV_CODEC_ID_MP3 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:573:71: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if ( audioStream->codec->block_align == 1 && audioStream->codec->codec_id == AV_CODEC_ID_MP3 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:573:71: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if ( audioStream->codec->block_align == 1 && audioStream->codec->codec_id == AV_CODEC_ID_MP3 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:573:71: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if ( audioStream->codec->block_align == 1 && audioStream->codec->codec_id == AV_CODEC_ID_MP3 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:574:18: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioStream->codec->block_align= 0; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:574:18: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioStream->codec->block_align= 0; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:574:18: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioStream->codec->block_align= 0; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:576:31: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if ( audioStream->codec->codec_id == AV_CODEC_ID_AC3 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:576:31: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if ( audioStream->codec->codec_id == AV_CODEC_ID_AC3 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:576:31: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] if ( audioStream->codec->codec_id == AV_CODEC_ID_AC3 ) ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:577:18: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioStream->codec->block_align= 0; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:577:18: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioStream->codec->block_align= 0; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:577:18: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations] audioStream->codec->block_align= 0; ^~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ ffmpegvideoencoder.cpp:585:97: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations] et_size( videoCodecCtx->pix_fmt, videoCodecCtx->width, videoCodecCtx->height ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:5450:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:585:97: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations] et_size( videoCodecCtx->pix_fmt, videoCodecCtx->width, videoCodecCtx->height ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:5450:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:607:128: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations] geBuffer,videoCodecCtx->pix_fmt, videoCodecCtx->width, videoCodecCtx->height ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:5435:5: note: declared here int avpicture_fill(AVPicture *picture, const uint8_t *ptr, ^~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:607:128: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations] geBuffer,videoCodecCtx->pix_fmt, videoCodecCtx->width, videoCodecCtx->height ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:5435:5: note: declared here int avpicture_fill(AVPicture *picture, const uint8_t *ptr, ^~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:610:28: warning: ‘AVFormatContext::filename’ is deprecated [-Wdeprecated-declarations] strncpy( outputFormatCtx->filename, FFMPEG_FILENAME( fileName ), sizeof(outputFormatCtx->filename) ); ^~~~~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:1417:23: note: declared here char filename[1024]; ^ ffmpegvideoencoder.cpp:610:28: warning: ‘AVFormatContext::filename’ is deprecated [-Wdeprecated-declarations] strncpy( outputFormatCtx->filename, FFMPEG_FILENAME( fileName ), sizeof(outputFormatCtx->filename) ); ^~~~~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:1417:23: note: declared here char filename[1024]; ^ ffmpegvideoencoder.cpp:610:28: warning: ‘AVFormatContext::filename’ is deprecated [-Wdeprecated-declarations] strncpy( outputFormatCtx->filename, FFMPEG_FILENAME( fileName ), sizeof(outputFormatCtx->filename) ); ^~~~~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:1417:23: note: declared here char filename[1024]; ^ ffmpegvideoencoder.cpp:610:91: warning: ‘AVFormatContext::filename’ is deprecated [-Wdeprecated-declarations] Ctx->filename, FFMPEG_FILENAME( fileName ), sizeof(outputFormatCtx->filename) ); ^~~~~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:1417:23: note: declared here char filename[1024]; ^ ffmpegvideoencoder.cpp:610:91: warning: ‘AVFormatContext::filename’ is deprecated [-Wdeprecated-declarations] Ctx->filename, FFMPEG_FILENAME( fileName ), sizeof(outputFormatCtx->filename) ); ^~~~~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:1417:23: note: declared here char filename[1024]; ^ ffmpegvideoencoder.cpp:610:91: warning: ‘AVFormatContext::filename’ is deprecated [-Wdeprecated-declarations] Ctx->filename, FFMPEG_FILENAME( fileName ), sizeof(outputFormatCtx->filename) ); ^~~~~~~~ In file included from ffmpeg_headers.h:33, from ffmpegvideoencoder.cpp:26: /usr/include/libavformat/avformat.h:1417:23: note: declared here char filename[1024]; ^ ffmpegvideoencoder.cpp: In member function ‘int FFMpegVideoEncoderPriv::encodeImage(const QImage&, qint64)’: ffmpegvideoencoder.cpp:660:45: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘pts’ double audio_pts = (double) audioStream->pts.val * av_q2d( audioStream->time_base ); ^~~ ffmpegvideoencoder.cpp:661:45: error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘pts’ double video_pts = (double) videoStream->pts.val * av_q2d( videoStream->time_base ); ^~~ ffmpegvideoencoder.cpp:676:26: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] av_free_packet( &pkt ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:4416:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:676:26: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] av_free_packet( &pkt ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:4416:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:686:83: warning: ‘int avcodec_decode_audio4(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations] r = avcodec_decode_audio4( m_aplayer->aCodecCtx, &srcaudio, &got_audio, &pkt ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:4722:5: note: declared here int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame, ^~~~~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:686:83: warning: ‘int avcodec_decode_audio4(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations] r = avcodec_decode_audio4( m_aplayer->aCodecCtx, &srcaudio, &got_audio, &pkt ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:4722:5: note: declared here int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame, ^~~~~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:695:25: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] av_free_packet( &pkt ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:4416:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:695:25: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] av_free_packet( &pkt ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:4416:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:708:32: warning: ‘int avresample_convert(AVAudioResampleContext*, uint8_t**, int, int, uint8_t* const*, int, int)’ is deprecated [-Wdeprecated-declarations] srcaudio.nb_samples )) < 0 ) ^ In file included from ffmpeg_headers.h:35, from ffmpegvideoencoder.cpp:26: /usr/include/libavresample/avresample.h:451:5: note: declared here int avresample_convert(AVAudioResampleContext *avr, uint8_t **output, ^~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:708:32: warning: ‘int avresample_convert(AVAudioResampleContext*, uint8_t**, int, int, uint8_t* const*, int, int)’ is deprecated [-Wdeprecated-declarations] srcaudio.nb_samples )) < 0 ) ^ In file included from ffmpeg_headers.h:35, from ffmpegvideoencoder.cpp:26: /usr/include/libavresample/avresample.h:451:5: note: declared here int avresample_convert(AVAudioResampleContext *avr, uint8_t **output, ^~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:714:50: warning: ‘int avresample_available(AVAudioResampleContext*)’ is deprecated [-Wdeprecated-declarations] while( avresample_available( audioResampleCtx ) >= audioFrame->nb_samples ) ^ In file included from ffmpeg_headers.h:35, from ffmpegvideoencoder.cpp:26: /usr/include/libavresample/avresample.h:494:5: note: declared here int avresample_available(AVAudioResampleContext *avr); ^~~~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:714:50: warning: ‘int avresample_available(AVAudioResampleContext*)’ is deprecated [-Wdeprecated-declarations] while( avresample_available( audioResampleCtx ) >= audioFrame->nb_samples ) ^ In file included from ffmpeg_headers.h:35, from ffmpegvideoencoder.cpp:26: /usr/include/libavresample/avresample.h:494:5: note: declared here int avresample_available(AVAudioResampleContext *avr); ^~~~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:717:86: warning: ‘int avresample_read(AVAudioResampleContext*, uint8_t**, int)’ is deprecated [-Wdeprecated-declarations] le_read( audioResampleCtx, audioFrame->data, audioFrame->nb_samples ) != audioFrame->nb_samples ) ^ In file included from ffmpeg_headers.h:35, from ffmpegvideoencoder.cpp:26: /usr/include/libavresample/avresample.h:517:5: note: declared here int avresample_read(AVAudioResampleContext *avr, uint8_t **output, int nb_samples); ^~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:717:86: warning: ‘int avresample_read(AVAudioResampleContext*, uint8_t**, int)’ is deprecated [-Wdeprecated-declarations] le_read( audioResampleCtx, audioFrame->data, audioFrame->nb_samples ) != audioFrame->nb_samples ) ^ In file included from ffmpeg_headers.h:35, from ffmpegvideoencoder.cpp:26: /usr/include/libavresample/avresample.h:517:5: note: declared here int avresample_read(AVAudioResampleContext *avr, uint8_t **output, int nb_samples); ^~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:738:85: warning: ‘int avcodec_encode_audio2(AVCodecContext*, AVPacket*, const AVFrame*, int*)’ is deprecated [-Wdeprecated-declarations] = avcodec_encode_audio2( audioCodecCtx, &pkt, audioFrame, &got_packet )) < 0 ) ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:5363:5: note: declared here int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, ^~~~~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:738:85: warning: ‘int avcodec_encode_audio2(AVCodecContext*, AVPacket*, const AVFrame*, int*)’ is deprecated [-Wdeprecated-declarations] = avcodec_encode_audio2( audioCodecCtx, &pkt, audioFrame, &got_packet )) < 0 ) ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:5363:5: note: declared here int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, ^~~~~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:766:27: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] av_free_packet( &pkt ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:4416:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:766:27: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] av_free_packet( &pkt ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:4416:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:787:76: warning: ‘int avcodec_encode_video2(AVCodecContext*, AVPacket*, const AVFrame*, int*)’ is deprecated [-Wdeprecated-declarations] err = avcodec_encode_video2( videoCodecCtx, &pkt, videoFrame, &got_packet ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:5402:5: note: declared here int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, ^~~~~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:787:76: warning: ‘int avcodec_encode_video2(AVCodecContext*, AVPacket*, const AVFrame*, int*)’ is deprecated [-Wdeprecated-declarations] err = avcodec_encode_video2( videoCodecCtx, &pkt, videoFrame, &got_packet ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:5402:5: note: declared here int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, ^~~~~~~~~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:807:23: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] if ( videoCodecCtx->coded_frame->key_frame ) ^~~~~~~~~~~ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:2776:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ ffmpegvideoencoder.cpp:807:23: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] if ( videoCodecCtx->coded_frame->key_frame ) ^~~~~~~~~~~ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:2776:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ ffmpegvideoencoder.cpp:807:23: warning: ‘AVCodecContext::coded_frame’ is deprecated [-Wdeprecated-declarations] if ( videoCodecCtx->coded_frame->key_frame ) ^~~~~~~~~~~ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:2776:35: note: declared here attribute_deprecated AVFrame *coded_frame; ^~~~~~~~~~~ ffmpegvideoencoder.cpp:818:24: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] av_free_packet( &pkt ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:4416:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ ffmpegvideoencoder.cpp:818:24: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] av_free_packet( &pkt ); ^ In file included from ffmpeg_headers.h:32, from ffmpegvideoencoder.cpp:26: /usr/include/libavcodec/avcodec.h:4416:6: note: declared here void av_free_packet(AVPacket *pkt); ^~~~~~~~~~~~~~ ffmpegvideoencoder.cpp: In member function ‘bool FFMpegVideoEncoderPriv::createFile(const QString&)’: ffmpegvideoencoder.cpp:618:23: warning: ignoring return value of ‘int avformat_write_header(AVFormatContext*, AVDictionary**)’, declared with attribute warn_unused_result [-Wunused-result] avformat_write_header( outputFormatCtx, 0 ); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:1394: ffmpegvideoencoder.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-sound/karlyriceditor-2.2-r1/work/karlyriceditor-2.2/src' make: *** [Makefile:45: sub-src-make_first] Error 2 * ERROR: media-sound/karlyriceditor-2.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-sound/karlyriceditor-2.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-sound/karlyriceditor-2.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/media-sound:karlyriceditor-2.2-r1:20181217-174229.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/karlyriceditor-2.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/karlyriceditor-2.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-sound/karlyriceditor-2.2-r1/work/karlyriceditor-2.2' * S: '/var/tmp/portage/media-sound/karlyriceditor-2.2-r1/work/karlyriceditor-2.2'