osmc@osmc:~/sources/Comskip$ sudo make -j4
gcc -DPACKAGE_NAME="Comskip" -DPACKAGE_TARNAME="comskip" -DPACKAGE_VERSION="0.81.098" -DPACKAGE_STRING="Comskip\ 0.81.098" -DPACKAGE_BUGREPORT="https://github.com/erikkaashoek/Comskip/issues\" -DPACKAGE_URL="" -DPACKAGE="comskip" -DVERSION="0.81.098" -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -Wall -I/usr/local/include -DPROCESS_CC -DDONATOR -I/opt/vc/include -g -O2 -L/opt/vc/lib -MT comskip-comskip.o -MD -MP -MF .deps/comskip-comskip.Tpo -c -o comskip-comskip.o test -f 'comskip.c' || echo './'
comskip.c
gcc -DPACKAGE_NAME="Comskip" -DPACKAGE_TARNAME="comskip" -DPACKAGE_VERSION="0.81.098" -DPACKAGE_STRING="Comskip\ 0.81.098" -DPACKAGE_BUGREPORT="https://github.com/erikkaashoek/Comskip/issues\" -DPACKAGE_URL="" -DPACKAGE="comskip" -DVERSION="0.81.098" -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -Wall -I/usr/local/include -DPROCESS_CC -DDONATOR -I/opt/vc/include -g -O2 -L/opt/vc/lib -MT comskip-mpeg2dec.o -MD -MP -MF .deps/comskip-mpeg2dec.Tpo -c -o comskip-mpeg2dec.o test -f 'mpeg2dec.c' || echo './'
mpeg2dec.c
gcc -DPACKAGE_NAME="Comskip" -DPACKAGE_TARNAME="comskip" -DPACKAGE_VERSION="0.81.098" -DPACKAGE_STRING="Comskip\ 0.81.098" -DPACKAGE_BUGREPORT="https://github.com/erikkaashoek/Comskip/issues\" -DPACKAGE_URL="" -DPACKAGE="comskip" -DVERSION="0.81.098" -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -Wall -I/usr/local/include -DPROCESS_CC -DDONATOR -I/opt/vc/include -g -O2 -L/opt/vc/lib -MT comskip-platform.o -MD -MP -MF .deps/comskip-platform.Tpo -c -o comskip-platform.o test -f 'platform.c' || echo './'
platform.c
gcc -DPACKAGE_NAME="Comskip" -DPACKAGE_TARNAME="comskip" -DPACKAGE_VERSION="0.81.098" -DPACKAGE_STRING="Comskip\ 0.81.098" -DPACKAGE_BUGREPORT="https://github.com/erikkaashoek/Comskip/issues\" -DPACKAGE_URL="" -DPACKAGE="comskip" -DVERSION="0.81.098" -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -Wall -I/usr/local/include -DPROCESS_CC -DDONATOR -I/opt/vc/include -g -O2 -L/opt/vc/lib -MT comskip-video_out_dx.o -MD -MP -MF .deps/comskip-video_out_dx.Tpo -c -o comskip-video_out_dx.o test -f 'video_out_dx.c' || echo './'
video_out_dx.c
In file included from /usr/include/unistd.h:25:0,
from platform.h:6,
from comskip.c:16:
/usr/include/features.h:148:3: warning: #warning “_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE” -Wcpp]
# warning “_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE”
^~~~~~~
In file included from /usr/include/unistd.h:25:0,
from platform.h:6,
from mpeg2dec.c:24:
/usr/include/features.h:148:3: warning: #warning “_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE” -Wcpp]
# warning “_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE”
^~~~~~~
In file included from /usr/include/unistd.h:25:0,
from platform.h:6,
from platform.c:1:
/usr/include/features.h:148:3: warning: #warning “_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE” -Wcpp]
# warning “_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE”
^~~~~~~
mv -f .deps/comskip-video_out_dx.Tpo .deps/comskip-video_out_dx.Po
gcc -DPACKAGE_NAME="Comskip" -DPACKAGE_TARNAME="comskip" -DPACKAGE_VERSION="0.81.098" -DPACKAGE_STRING="Comskip\ 0.81.098" -DPACKAGE_BUGREPORT="https://github.com/erikkaashoek/Comskip/issues\" -DPACKAGE_URL="" -DPACKAGE="comskip" -DVERSION="0.81.098" -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -Wall -I/usr/local/include -DPROCESS_CC -DDONATOR -I/opt/vc/include -g -O2 -L/opt/vc/lib -MT ccextratorwin/comskip-608.o -MD -MP -MF ccextratorwin/.deps/comskip-608.Tpo -c -o ccextratorwin/comskip-608.o test -f 'ccextratorwin/608.c' || echo './'
ccextratorwin/608.c
ccextratorwin/608.c: In function ‘handle_command’:
ccextratorwin/608.c:712:5: warning: this ‘if’ clause does not guard… [-Wmisleading-indentation]
if ((c1==0x14 || c1==0x1C) && c2==0x21)
^~
ccextratorwin/608.c:714:2: note: …this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if ((c1==0x14 || c1==0x1C) && c2==0x2b)
^~
ccextratorwin/608.c: In function ‘handle_pac’:
ccextratorwin/608.c:906:5: warning: this ‘if’ clause does not guard… [-Wmisleading-indentation]
if (debug_608)
^~
ccextratorwin/608.c:909:2: note: …this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if (wb->data608->mode!=MODE_TEXT)
^~
mpeg2dec.c: In function ‘retreive_frame_volume’:
mpeg2dec.c:379:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
int s_per_frame = (to_pts - from_pts) * (double)(is->audio_st->codec->sample_rate+1);
^~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:388:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
buffer = & audio_buffer[(int)((from_pts - base_apts) * ((double)is->audio_st->codec->sample_rate+0.5) )];
^~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:401:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
audio_samples -= (int)((from_pts - base_apts) * (is->audio_st->codec->sample_rate+0.5)); // incomplete frame before complete frame
^~~~~~~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:434:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
top_apts = base_apts + audio_samples / (double)(is->audio_st->codec->sample_rate);
^~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c: In function ‘sound_to_frames’:
mpeg2dec.c:476:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (old_sample_rate == is->audio_st->codec->sample_rate &&
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:478:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
|| (top_apts - base_apts) * (is->audio_st->codec->sample_rate+0.5) > AUDIOBUFFER
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:480:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
|| !ISSAME(((double)audio_samples /(double)(is->audio_st->codec->sample_rate+0.5))+ base_apts, top_apts)
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:496:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (old_sample_rate != 0 && old_sample_rate != is->audio_st->codec->sample_rate) {
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:497:10: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
Debug(5, “Audio samplerate switched from %d to %d\n”, old_sample_rate, is->audio_st->codec->sample_rate );
^~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:499:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
old_sample_rate = is->audio_st->codec->sample_rate;
^~~~~~~~~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:502:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (fabs(base_apts - (is->audio_clock - ((double)audio_samples /(double)(is->audio_st->codec->sample_rate))))> 0.0001)
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:503:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
base_apts = (is->audio_clock - ((double)audio_samples /(double)(is->audio_st->codec->sample_rate)));
^~~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:502:5: warning: this ‘if’ clause does not guard… [-Wmisleading-indentation]
if (fabs(base_apts - (is->audio_clock - ((double)audio_samples /(double)(is->audio_st->codec->sample_rate))))> 0.0001)
^~
mpeg2dec.c:504:9: note: …this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if (ALIGN_AC3_PACKETS && is->audio_st->codec->codec_id == AV_CODEC_ID_AC3) {
^~
mpeg2dec.c:504:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:529:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
for (l=0;l < is->audio_st->codec->channels;l++ )
^~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:537:21: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
for (l=0;l < is->audio_st->codec->channels;l++ ) volume += *((fb[l])++) * 64000;
^~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:539:21: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
for (l=0;l < is->audio_st->codec->channels;l++ ) volume += *((fb[0])++) * 64000;
^~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:540:17: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
*audio_buffer_ptr++ = volume / is->audio_st->codec->channels;
^
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:541:17: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
avg_volume += abs(volume / is->audio_st->codec->channels);
^~~~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:546:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
for (l=0;l < is->audio_st->codec->channels;l++ )
^~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:554:21: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
for (l=0;l < is->audio_st->codec->channels;l++ ) volume += *((sb[l])++);
^~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:556:21: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
for (l=0;l < is->audio_st->codec->channels;l++ ) volume += *((sb[0])++);
^~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:557:17: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
*audio_buffer_ptr++ = volume / is->audio_st->codec->channels;
^
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:558:17: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
avg_volume += abs(volume / is->audio_st->codec->channels);
^~~~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:564:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
top_apts = base_apts + audio_samples / (double)(is->audio_st->codec->sample_rate);
^~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c: In function ‘audio_packet_process’:
mpeg2dec.c:602:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if ( !ALIGN_AC3_PACKETS && is->audio_st->codec->codec_id == AV_CODEC_ID_AC3
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:615:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (ALIGN_AC3_PACKETS && is->audio_st->codec->codec_id == AV_CODEC_ID_AC3) {
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:666:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (ALIGN_AC3_PACKETS && is->audio_st->codec->codec_id == AV_CODEC_ID_AC3) {
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:710:9: warning: ‘avcodec_decode_audio4’ is deprecated [-Wdeprecated-declarations]
len1 = avcodec_decode_audio4(is->audio_st->codec, is->frame, &got_frame, pkt_temp);
^~~~
In file included from /usr/local/include/libavformat/avformat.h:319:0,
from mpeg2dec.c:35:
/usr/local/include/libavcodec/avcodec.h:4661:5: note: declared here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
^~~~~~~~~~~~~~~~~~~~~
mpeg2dec.c:710:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
len1 = avcodec_decode_audio4(is->audio_st->codec, is->frame, &got_frame, pkt_temp);
^~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:712:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (prev_codec_id != -1 && (unsigned int)prev_codec_id != is->audio_st->codec->codec_id)
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:716:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
prev_codec_id = is->audio_st->codec->codec_id;
^~~~~~~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:721:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (is->audio_st->codec->codec_id == AV_CODEC_ID_AC3) ac3_packet_index = 0;
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:754:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (ALIGN_AC3_PACKETS && is->audio_st->codec->codec_id == AV_CODEC_ID_AC3) {
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mv -f .deps/comskip-platform.Tpo .deps/comskip-platform.Po
mpeg2dec.c: In function ‘DoSeekRequest’:
mpeg2dec.c:1017:9: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
fprintf(stderr, “%s error while seeking. target=%6.3f, "%s"\n”, error_text,is->seek_pts, is->pFormatCtx->filename);
^~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:1408:10: note: declared here
char filename[1024];
^~~~~~~~
mpeg2dec.c:1022:13: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
fprintf(sample_file, “%s error while seeking, target=%6.3f, "%s"\n”, error_text,is->seek_pts, is->pFormatCtx->filename);
^~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:1408:10: note: declared here
char filename[1024];
^~~~~~~~
mpeg2dec.c:1037:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
avcodec_flush_buffers(is->audio_st->codec);
^~~~~~~~~~~~~~~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:1041:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
avcodec_flush_buffers(is->video_st->codec);
^~~~~~~~~~~~~~~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c: In function ‘video_packet_process’:
mpeg2dec.c:1202:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (!hardware_decode) is->video_st->codec->flags |= CODEC_FLAG_GRAY;
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:1202:57: error: ‘CODEC_FLAG_GRAY’ undeclared (first use in this function)
if (!hardware_decode) is->video_st->codec->flags |= CODEC_FLAG_GRAY;
^~~~~~~~~~~~~~~
mpeg2dec.c:1202:57: note: each undeclared identifier is reported only once for each function it appears in
mpeg2dec.c:1204:5: warning: ‘avcodec_decode_video2’ is deprecated [-Wdeprecated-declarations]
len1 = avcodec_decode_video2(is->video_st->codec, is->pFrame, &frameFinished,
^~~~
In file included from /usr/local/include/libavformat/avformat.h:319:0,
from mpeg2dec.c:35:
/usr/local/include/libavcodec/avcodec.h:4710:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^~~~~~~~~~~~~~~~~~~~~
mpeg2dec.c:1204:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
len1 = avcodec_decode_video2(is->video_st->codec, is->pFrame, &frameFinished,
^~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:1231:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
frame_delay = av_q2d(is->video_st->codec->time_base) * is->video_st->codec->ticks_per_frame ;
^~~~~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
gcc -DPACKAGE_NAME="Comskip" -DPACKAGE_TARNAME="comskip" -DPACKAGE_VERSION="0.81.098" -DPACKAGE_STRING="Comskip\ 0.81.098" -DPACKAGE_BUGREPORT="https://github.com/erikkaashoek/Comskip/issues\" -DPACKAGE_URL="" -DPACKAGE="comskip" -DVERSION="0.81.098" -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -I. -Wall -I/usr/local/include -DPROCESS_CC -DDONATOR -I/opt/vc/include -g -O2 -L/opt/vc/lib -MT ccextratorwin/comskip-ccextractor.o -MD -MP -MF ccextratorwin/.deps/comskip-ccextractor.Tpo -c -o ccextratorwin/comskip-ccextractor.o test -f 'ccextratorwin/ccextractor.c' || echo './'
ccextratorwin/ccextractor.c
mpeg2dec.c:1231:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
frame_delay = av_q2d(is->video_st->codec->time_base) * is->video_st->codec->ticks_per_frame ;
^~~~~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:1237:9: warning: ‘av_frame_get_best_effort_timestamp’ is deprecated [-Wdeprecated-declarations]
best_effort_timestamp = av_frame_get_best_effort_timestamp(is->pFrame);
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/libavcodec/avcodec.h:38:0,
from /usr/local/include/libavformat/avformat.h:319,
from mpeg2dec.c:35:
/usr/local/include/libavutil/frame.h:587:9: note: declared here
int64_t av_frame_get_best_effort_timestamp(const AVFrame *frame);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mpeg2dec.c:1343:17: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (!ISSAME(3*frame_delay/ is->video_st->codec->ticks_per_frame, calculated_delay))
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:1344:21: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (!ISSAME(1*frame_delay/ is->video_st->codec->ticks_per_frame, calculated_delay))
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:1359:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
&& !ISSAME(3*frame_delay/ is->video_st->codec->ticks_per_frame, calculated_delay)
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:1360:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
&& !ISSAME(1*frame_delay/ is->video_st->codec->ticks_per_frame, calculated_delay)
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c: In function ‘stream_component_open’:
mpeg2dec.c:1605:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
codecCtx = pFormatCtx->streams[stream_index]->codec;
^~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:1610:50: error: ‘CODEC_FLAG_GRAY’ undeclared (first use in this function)
if (!hardware_decode) codecCtx->flags |= CODEC_FLAG_GRAY;
^~~~~~~~~~~~~~~
mpeg2dec.c:1736:9: warning: ‘av_codec_get_max_lowres’ is deprecated [-Wdeprecated-declarations]
codecCtx->lowres = min(av_codec_get_max_lowres(codecCtx->codec),lowres);
^~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:319:0,
from mpeg2dec.c:35:
/usr/local/include/libavcodec/avcodec.h:3536:5: note: declared here
int av_codec_get_max_lowres(const AVCodec *codec);
^~~~~~~~~~~~~~~~~~~~~~~
mpeg2dec.c:1755:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
is->video_st->codec->ticks_per_frame = 1;
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c: In function ‘file_open’:
mpeg2dec.c:1838:9: warning: ‘avcodec_register_all’ is deprecated [-Wdeprecated-declarations]
avcodec_register_all();
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:319:0,
from mpeg2dec.c:35:
/usr/local/include/libavcodec/avcodec.h:4068:6: note: declared here
void avcodec_register_all(void);
^~~~~~~~~~~~~~~~~~~~
mpeg2dec.c:1840:9: warning: ‘av_register_all’ is deprecated [-Wdeprecated-declarations]
av_register_all();
^~~~~~~~~~~~~~~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:2025:6: note: declared here
void av_register_all(void);
^~~~~~~~~~~~~~~
mpeg2dec.c:1939:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
is->fps = 1/av_q2d(is->video_st->codec->time_base);
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c: In function ‘file_close’:
mpeg2dec.c:2011:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (is->videoStream != -1) avcodec_close(is->pFormatCtx->streams[is->videoStream]->codec);
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:2015:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (is->audioStream != -1) avcodec_close(is->pFormatCtx->streams[is->audioStream]->codec);
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
mpeg2dec.c:2017:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
if (is->subtitleStream != -1) avcodec_close(is->pFormatCtx->streams[is->subtitleStream]->codec);
^~
In file included from mpeg2dec.c:35:0:
/usr/local/include/libavformat/avformat.h:877:21: note: declared here
AVCodecContext *codec;
^~~~~
In file included from /usr/include/unistd.h:25:0,
from ccextratorwin/…/platform.h:6,
from ccextratorwin/ccextractor.c:12:
/usr/include/features.h:148:3: warning: #warning “_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE” -Wcpp]
\ # warning “_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE”
^~~~~~~
Makefile:491: recipe for target ‘comskip-mpeg2dec.o’ failed
make: *** [comskip-mpeg2dec.o] Error 1
make: *** Waiting for unfinished jobs…
mv -f ccextratorwin/.deps/comskip-608.Tpo ccextratorwin/.deps/comskip-608.Po
mv -f ccextratorwin/.deps/comskip-ccextractor.Tpo ccextratorwin/.deps/comskip-ccextractor.Po
mv -f .deps/comskip-comskip.Tpo .deps/comskip-comskip.Po