The latest build on Debian Stretch / unstable is producing a lot of deprecation warnings related to ffmpeg:
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp: In member function 'virtual void openshot::FFmpegReader::Open()':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:145:32: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && videoStream < 0) {
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:145:32: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && videoStream < 0) {
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:145:32: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && videoStream < 0) {
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:149:32: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO && audioStream < 0) {
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:149:32: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO && audioStream < 0) {
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:149:32: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO && audioStream < 0) {
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:164:50: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
pCodecCtx = pFormatCtx->streams[videoStream]->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:164:50: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
pCodecCtx = pFormatCtx->streams[videoStream]->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:164:50: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
pCodecCtx = pFormatCtx->streams[videoStream]->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:193:50: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
aCodecCtx = pFormatCtx->streams[audioStream]->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:193:50: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
aCodecCtx = pFormatCtx->streams[audioStream]->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:193:50: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
aCodecCtx = pFormatCtx->streams[audioStream]->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp: In member function 'int openshot::FFmpegReader::GetNextPacket()':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:690:3: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
av_free_packet(next_packet);
^~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4473:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:690:29: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
av_free_packet(next_packet);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4473:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp: In member function 'bool openshot::FFmpegReader::GetAVFrame()':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:706:2: warning: 'int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations]
avcodec_decode_video2(pCodecCtx, next_frame, &frameFinished, packet);
^~~~~~~~~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4812:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^~~~~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:706:69: warning: 'int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations]
avcodec_decode_video2(pCodecCtx, next_frame, &frameFinished, packet);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4812:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^~~~~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:714:3: warning: 'int avpicture_alloc(AVPicture*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
avpicture_alloc(copyFrame, pCodecCtx->pix_fmt, info.width, info.height);
^~~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5441:5: note: declared here
int avpicture_alloc(AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:714:73: warning: 'int avpicture_alloc(AVPicture*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
avpicture_alloc(copyFrame, pCodecCtx->pix_fmt, info.width, info.height);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5441:5: note: declared here
int avpicture_alloc(AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:715:3: warning: 'void av_picture_copy(AVPicture*, const AVPicture*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
av_picture_copy(copyFrame, (AVPicture *) next_frame, pCodecCtx->pix_fmt, info.width, info.height);
^~~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5474:6: note: declared here
void av_picture_copy(AVPicture *dst, const AVPicture *src,
^~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:715:99: warning: 'void av_picture_copy(AVPicture*, const AVPicture*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
av_picture_copy(copyFrame, (AVPicture *) next_frame, pCodecCtx->pix_fmt, info.width, info.height);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5474:6: note: declared here
void av_picture_copy(AVPicture *dst, const AVPicture *src,
^~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp: In member function 'void openshot::FFmpegReader::ProcessVideoPacket(long int)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:849:14: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
numBytes = avpicture_get_size(PIX_FMT_RGBA, width, height);
^~~~~~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5468:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:849:60: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
numBytes = avpicture_get_size(PIX_FMT_RGBA, width, height);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5468:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:855:3: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
avpicture_fill((AVPicture *) pFrameRGB, buffer, PIX_FMT_RGBA, width, height);
^~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5453:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:855:78: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
avpicture_fill((AVPicture *) pFrameRGB, buffer, PIX_FMT_RGBA, width, height);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5453:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:858:40: warning: 'AVPicture::data' is deprecated [-Wdeprecated-declarations]
sws_scale(img_convert_ctx, my_frame->data, my_frame->linesize, 0,
^~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3892:39: note: declared here
uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
^
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:858:40: warning: 'AVPicture::data' is deprecated [-Wdeprecated-declarations]
sws_scale(img_convert_ctx, my_frame->data, my_frame->linesize, 0,
^~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3892:39: note: declared here
uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
^
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:858:40: warning: 'AVPicture::data' is deprecated [-Wdeprecated-declarations]
sws_scale(img_convert_ctx, my_frame->data, my_frame->linesize, 0,
^~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3892:39: note: declared here
uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes
^
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:858:56: warning: 'AVPicture::linesize' is deprecated [-Wdeprecated-declarations]
sws_scale(img_convert_ctx, my_frame->data, my_frame->linesize, 0,
^~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3894:38: note: declared here
int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
^
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:858:56: warning: 'AVPicture::linesize' is deprecated [-Wdeprecated-declarations]
sws_scale(img_convert_ctx, my_frame->data, my_frame->linesize, 0,
^~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3894:38: note: declared here
int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
^
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:858:56: warning: 'AVPicture::linesize' is deprecated [-Wdeprecated-declarations]
sws_scale(img_convert_ctx, my_frame->data, my_frame->linesize, 0,
^~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3894:38: note: declared here
int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line
^
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp: In member function 'void openshot::FFmpegReader::ProcessAudioPacket(long int, long int, int)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:931:13: warning: 'int avcodec_decode_audio4(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations]
int used = avcodec_decode_audio4(aCodecCtx, audio_frame, &frame_finished, my_packet);
^~~~~~~~~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4763:5: note: declared here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
^~~~~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:931:85: warning: 'int avcodec_decode_audio4(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations]
int used = avcodec_decode_audio4(aCodecCtx, audio_frame, &frame_finished, my_packet);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4763:5: note: declared here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
^~~~~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::SetOption(openshot::StreamType, std::__cxx11::string, std::__cxx11::string)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:219:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = video_st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:219:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = video_st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:219:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = video_st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:221:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = audio_st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:221:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = audio_st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:221:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = audio_st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::flush_encoders()':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:543:52: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
if (info.has_audio && audio_codec && audio_st->codec->codec_type == AVMEDIA_TYPE_AUDIO && audio_codec->frame_size <= 1)
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:543:52: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
if (info.has_audio && audio_codec && audio_st->codec->codec_type == AVMEDIA_TYPE_AUDIO && audio_codec->frame_size <= 1)
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:543:52: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
if (info.has_audio && audio_codec && audio_st->codec->codec_type == AVMEDIA_TYPE_AUDIO && audio_codec->frame_size <= 1)
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:545:37: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
if (info.has_video && video_st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (oc->oformat->flags & AVFMT_RAWPICTURE) && video_codec->codec->id == AV_CODEC_ID_RAWVIDEO)
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:545:37: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
if (info.has_video && video_st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (oc->oformat->flags & AVFMT_RAWPICTURE) && video_codec->codec->id == AV_CODEC_ID_RAWVIDEO)
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:545:37: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
if (info.has_video && video_st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (oc->oformat->flags & AVFMT_RAWPICTURE) && video_codec->codec->id == AV_CODEC_ID_RAWVIDEO)
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:572:17: warning: 'int avcodec_encode_video2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations]
error_code = avcodec_encode_video2(video_codec, &pkt, NULL, &got_packet);
^~~~~~~~~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5323:5: note: declared here
int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
^~~~~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:572:75: warning: 'int avcodec_encode_video2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations]
error_code = avcodec_encode_video2(video_codec, &pkt, NULL, &got_packet);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5323:5: note: declared here
int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
^~~~~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:646:17: warning: 'int avcodec_encode_audio2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations]
error_code = avcodec_encode_audio2(audio_codec, &pkt, NULL, &got_packet);
^~~~~~~~~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5284:5: note: declared here
int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
^~~~~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:646:75: warning: 'int avcodec_encode_audio2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations]
error_code = avcodec_encode_audio2(audio_codec, &pkt, NULL, &got_packet);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5284:5: note: declared here
int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
^~~~~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:678:4: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
av_free_packet(&pkt);
^~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4473:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:678:23: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
av_free_packet(&pkt);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4473:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::close_video(AVFormatContext*, AVStream*)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:687:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
avcodec_close(st->codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:687:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
avcodec_close(st->codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:687:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
avcodec_close(st->codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::close_audio(AVFormatContext*, AVStream*)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:694:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
avcodec_close(st->codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:694:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
avcodec_close(st->codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:694:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
avcodec_close(st->codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::Close()':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:738:29: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
av_freep(&oc->streams[i]->codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:738:29: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
av_freep(&oc->streams[i]->codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:738:29: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
av_freep(&oc->streams[i]->codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'AVStream* openshot::FFmpegWriter::add_audio_stream()':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:796:39: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
avcodec_get_context_defaults3(st->codec, codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:796:39: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
avcodec_get_context_defaults3(st->codec, codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:796:39: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
avcodec_get_context_defaults3(st->codec, codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:798:10: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:798:10: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:798:10: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'AVStream* openshot::FFmpegWriter::add_video_stream()':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:884:39: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
avcodec_get_context_defaults3(st->codec, codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:884:39: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
avcodec_get_context_defaults3(st->codec, codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:884:39: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
avcodec_get_context_defaults3(st->codec, codec);
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:886:10: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:886:10: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:886:10: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::open_audio(AVFormatContext*, AVStream*)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:961:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
audio_codec = st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:961:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
audio_codec = st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:961:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
audio_codec = st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:981:15: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
switch (st->codec->codec_id) {
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:981:15: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
switch (st->codec->codec_id) {
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:981:15: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
switch (st->codec->codec_id) {
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::open_video(AVFormatContext*, AVStream*)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1018:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
video_codec = st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1018:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
video_codec = st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1018:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
video_codec = st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::write_audio_packets(bool)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1312:21: warning: 'int avcodec_encode_audio2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations]
int error_code = avcodec_encode_audio2(audio_codec, &pkt, frame_final, &got_packet_ptr);
^~~~~~~~~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5284:5: note: declared here
int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
^~~~~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1312:90: warning: 'int avcodec_encode_audio2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations]
int error_code = avcodec_encode_audio2(audio_codec, &pkt, frame_final, &got_packet_ptr);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5284:5: note: declared here
int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
^~~~~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1351:4: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
av_free_packet(&pkt);
^~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4473:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1351:23: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
av_free_packet(&pkt);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4473:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'AVFrame* openshot::FFmpegWriter::allocate_avframe(AVPixelFormat, int, int, int*, uint8_t*)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1383:17: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
*buffer_size = avpicture_get_size(pix_fmt, width, height);
^~~~~~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5468:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1383:58: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
*buffer_size = avpicture_get_size(pix_fmt, width, height);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5468:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1391:3: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
avpicture_fill((AVPicture *)new_av_frame, new_buffer, pix_fmt, width, height);
^~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5453:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1391:79: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
avpicture_fill((AVPicture *)new_av_frame, new_buffer, pix_fmt, width, height);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5453:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::process_video_packet(std::tr1::shared_ptr<openshot::Frame>)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1438:3: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
avpicture_fill((AVPicture *) frame_source, (uint8_t*)pixels, PIX_FMT_RGBA, source_image_width, source_image_height);
^~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5453:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1438:117: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
avpicture_fill((AVPicture *) frame_source, (uint8_t*)pixels, PIX_FMT_RGBA, source_image_width, source_image_height);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5453:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'bool openshot::FFmpegWriter::write_video_packet(std::tr1::shared_ptr<openshot::Frame>, AVFrame*)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1484:3: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
av_free_packet(&pkt);
^~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4473:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1484:22: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
av_free_packet(&pkt);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4473:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1508:17: warning: 'int avcodec_encode_video2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations]
error_code = avcodec_encode_video2(video_codec, &pkt, frame_final, &got_packet_ptr);
^~~~~~~~~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5323:5: note: declared here
int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
^~~~~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1508:86: warning: 'int avcodec_encode_video2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations]
error_code = avcodec_encode_video2(video_codec, &pkt, frame_final, &got_packet_ptr);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5323:5: note: declared here
int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
^~~~~~~~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1562:3: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
av_free_packet(&pkt);
^~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4473:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1562:22: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
av_free_packet(&pkt);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4473:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::InitScalers(int, int)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1581:16: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = video_st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1581:16: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = video_st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:1581:16: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations]
c = video_st->codec;
^~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:40:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegWriter.h:39,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegWriter.cpp:31:
/usr/include/x86_64-linux-gnu/libavformat/avformat.h:893:21: note: declared here
AVCodecContext *codec;
^~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp: In member function 'void openshot::FFmpegReader::CheckFPS()':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:1780:2: warning: 'int avpicture_alloc(AVPicture*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
avpicture_alloc(pFrame, pCodecCtx->pix_fmt, info.width, info.height);
^~~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5441:5: note: declared here
int avpicture_alloc(AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:1780:69: warning: 'int avpicture_alloc(AVPicture*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations]
avpicture_alloc(pFrame, pCodecCtx->pix_fmt, info.width, info.height);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5441:5: note: declared here
int avpicture_alloc(AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp: In member function 'void openshot::FFmpegReader::RemoveAVFrame(AVPicture*)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:1908:4: warning: 'void avpicture_free(AVPicture*)' is deprecated [-Wdeprecated-declarations]
avpicture_free(frames[remove_frame]);
^~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5447:6: note: declared here
void avpicture_free(AVPicture *picture);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:1908:39: warning: 'void avpicture_free(AVPicture*)' is deprecated [-Wdeprecated-declarations]
avpicture_free(frames[remove_frame]);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:5447:6: note: declared here
void avpicture_free(AVPicture *picture);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp: In member function 'void openshot::FFmpegReader::RemoveAVPacket(AVPacket*)':
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:1929:4: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
av_free_packet(remove_packet);
^~~~~~~~~~~~~~
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4473:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
/«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:1929:32: warning: 'void av_free_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations]
av_free_packet(remove_packet);
^
In file included from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegUtilities.h:39:0,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ChannelLayouts.h:32,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Frame.h:60,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/Cache.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/ReaderBase.h:36,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/../include/FFmpegReader.h:34,
from /«BUILDDIR»/libopenshot-0.1.2+ds1/src/FFmpegReader.cpp:31:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4473:6: note: declared here
void av_free_packet(AVPacket *pkt);