https://bugs.kde.org/show_bug.cgi?id=371902
Bug ID: 371902 Summary: Build warnings in 16.08.2 with ffmpeg 3.1.1 Product: kdemultimedia Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: ffmpegthumbs Assignee: kde-multime...@kde.org Reporter: re...@rezso.net Target Milestone: --- -- Checking for module 'libavcodec' -- Found libavcodec, version 57.48.101 -- Checking for module 'libavfilter' -- Found libavfilter, version 6.47.100 -- Checking for module 'libavformat' -- Found libavformat, version 57.41.100 -- Checking for module 'libavdevice' -- Found libavdevice, version 57.0.101 -- Checking for module 'libavutil' -- Found libavutil, version 55.28.100 -- Checking for module 'libswscale' -- Found libswscale, version 4.1.100 -- Checking for module 'libpostproc' -- Found libpostproc, version 54.0.100 -- Found FFmpeg: /usr/lib/libavcodec.so;/usr/lib/libavformat.so;/usr/lib/libswscale.so -- Configuring done -- Generating done -- Build files have been written to: /var/uhubuild/work/compile/build make -j2 Scanning dependencies of target ffmpegthumbs_automoc [ 12%] Automatic moc for target ffmpegthumbs Generating moc source ffmpegthumbs_automoc.dir/moc_ffmpegthumbnailer.cpp Generating moc compilation ffmpegthumbs_automoc.cpp [ 12%] Built target ffmpegthumbs_automoc Scanning dependencies of target ffmpegthumbs [ 25%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer.cpp.o [ 37%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/filmstripfilter.cpp.o [ 50%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/moviedecoder.cpp.o [ 62%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/imagewriter.cpp.o /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp: In member function 'void ffmpegthumbnailer::MovieDecoder::initializeVideo()': /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:132:43: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) { ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:25:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavformat/avformat.h:880:21: note: declared here AVCodecContext *codec; ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:132:43: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) { ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:25:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavformat/avformat.h:880:21: note: declared here AVCodecContext *codec; ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:132:43: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) { ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:25:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavformat/avformat.h:880:21: note: declared here AVCodecContext *codec; ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:144:70: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] m_pVideoCodecContext = m_pFormatContext->streams[m_VideoStream]->codec; ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:25:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavformat/avformat.h:880:21: note: declared here AVCodecContext *codec; ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:144:70: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] m_pVideoCodecContext = m_pFormatContext->streams[m_VideoStream]->codec; ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:25:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavformat/avformat.h:880:21: note: declared here AVCodecContext *codec; ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:144:70: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] m_pVideoCodecContext = m_pFormatContext->streams[m_VideoStream]->codec; ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:25:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavformat/avformat.h:880:21: note: declared here AVCodecContext *codec; ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp: In member function 'void ffmpegthumbnailer::MovieDecoder::seek(int)': /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:202:73: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_flush_buffers(m_pFormatContext->streams[m_VideoStream]->codec); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:25:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavformat/avformat.h:880:21: note: declared here AVCodecContext *codec; ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:202:73: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_flush_buffers(m_pFormatContext->streams[m_VideoStream]->codec); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:25:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavformat/avformat.h:880:21: note: declared here AVCodecContext *codec; ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:202:73: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_flush_buffers(m_pFormatContext->streams[m_VideoStream]->codec); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:25:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavformat/avformat.h:880:21: note: declared here AVCodecContext *codec; ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp: In member function 'bool ffmpegthumbnailer::MovieDecoder::decodeVideoPacket()': /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:257:24: warning: 'int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations] int bytesDecoded = avcodec_decode_video2(m_pVideoCodecContext, m_pFrame, &frameFinished, m_pPacket); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:4753:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:257:24: warning: 'int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations] int bytesDecoded = avcodec_decode_video2(m_pVideoCodecContext, m_pFrame, &frameFinished, m_pPacket); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:4753:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:257:103: warning: 'int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations] int bytesDecoded = avcodec_decode_video2(m_pVideoCodecContext, m_pFrame, &frameFinished, m_pPacket); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:4753:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp: In member function 'bool ffmpegthumbnailer::MovieDecoder::processFilterGraph(AVPicture*, const AVPicture*, AVPixelFormat, int, int)': /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:357:38: warning: 'AVPicture::data' is deprecated [-Wdeprecated-declarations] memcpy(m_filterFrame->data, src->data, sizeof(src->data)); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:3833:39: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:357:38: warning: 'AVPicture::data' is deprecated [-Wdeprecated-declarations] memcpy(m_filterFrame->data, src->data, sizeof(src->data)); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:3833:39: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:357:38: warning: 'AVPicture::data' is deprecated [-Wdeprecated-declarations] memcpy(m_filterFrame->data, src->data, sizeof(src->data)); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:3833:39: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:357:56: warning: 'AVPicture::data' is deprecated [-Wdeprecated-declarations] memcpy(m_filterFrame->data, src->data, sizeof(src->data)); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:3833:39: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:357:56: warning: 'AVPicture::data' is deprecated [-Wdeprecated-declarations] memcpy(m_filterFrame->data, src->data, sizeof(src->data)); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:3833:39: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:357:56: warning: 'AVPicture::data' is deprecated [-Wdeprecated-declarations] memcpy(m_filterFrame->data, src->data, sizeof(src->data)); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:3833:39: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:358:42: warning: 'AVPicture::linesize' is deprecated [-Wdeprecated-declarations] memcpy(m_filterFrame->linesize, src->linesize, sizeof(src->linesize)); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:3835:38: note: declared here int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:358:42: warning: 'AVPicture::linesize' is deprecated [-Wdeprecated-declarations] memcpy(m_filterFrame->linesize, src->linesize, sizeof(src->linesize)); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:3835:38: note: declared here int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:358:42: warning: 'AVPicture::linesize' is deprecated [-Wdeprecated-declarations] memcpy(m_filterFrame->linesize, src->linesize, sizeof(src->linesize)); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:3835:38: note: declared here int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:358:64: warning: 'AVPicture::linesize' is deprecated [-Wdeprecated-declarations] memcpy(m_filterFrame->linesize, src->linesize, sizeof(src->linesize)); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:3835:38: note: declared here int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:358:64: warning: 'AVPicture::linesize' is deprecated [-Wdeprecated-declarations] memcpy(m_filterFrame->linesize, src->linesize, sizeof(src->linesize)); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:3835:38: note: declared here int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:358:64: warning: 'AVPicture::linesize' is deprecated [-Wdeprecated-declarations] memcpy(m_filterFrame->linesize, src->linesize, sizeof(src->linesize)); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:3835:38: note: declared here int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:373:5: warning: 'void av_picture_copy(AVPicture*, const AVPicture*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] av_picture_copy(dst, (const AVPicture *) m_filterFrame, pixfmt, width, height); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:5412:6: note: declared here void av_picture_copy(AVPicture *dst, const AVPicture *src, ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:373:5: warning: 'void av_picture_copy(AVPicture*, const AVPicture*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] av_picture_copy(dst, (const AVPicture *) m_filterFrame, pixfmt, width, height); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:5412:6: note: declared here void av_picture_copy(AVPicture *dst, const AVPicture *src, ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:373:82: warning: 'void av_picture_copy(AVPicture*, const AVPicture*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] av_picture_copy(dst, (const AVPicture *) m_filterFrame, pixfmt, width, height); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:5412:6: note: declared here void av_picture_copy(AVPicture *dst, const AVPicture *src, ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp: In member function 'void ffmpegthumbnailer::MovieDecoder::createAVFrame(AVFrame**, quint8**, int, int, AVPixelFormat)': /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:455:20: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] int numBytes = avpicture_get_size(format, width, height); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:5406:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:455:20: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] int numBytes = avpicture_get_size(format, width, height); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:5406:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:455:60: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] int numBytes = avpicture_get_size(format, width, height); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:5406:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:457:5: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] avpicture_fill((AVPicture*) *avFrame, *frameBuffer, format, width, height); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:5391:5: note: declared here int avpicture_fill(AVPicture *picture, const uint8_t *ptr, ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:457:5: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] avpicture_fill((AVPicture*) *avFrame, *frameBuffer, format, width, height); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:5391:5: note: declared here int avpicture_fill(AVPicture *picture, const uint8_t *ptr, ^ /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:457:78: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] avpicture_fill((AVPicture*) *avFrame, *frameBuffer, format, width, height); ^ In file included from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.h:24:0, from /var/uhubuild/work/compile/ffmpegthumbnailer/moviedecoder.cpp:17: /usr/include/libavcodec/avcodec.h:5391:5: note: declared here int avpicture_fill(AVPicture *picture, const uint8_t *ptr, ^ [ 75%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/videothumbnailer.cpp.o [ 87%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbs_automoc.cpp.o [100%] Linking CXX shared module ffmpegthumbs.so [100%] Built target ffmpegthumbs -- You are receiving this mail because: You are watching all bug changes.