Code:
# make -j8
make all-am
make[1]: Entering directory `/root/comskip-0.93h'
g++ -DHAVE_CONFIG_H -I. -g -O2 -std=gnu++11 -MT comskip-mpeg2dec.o -MD -MP -MF .deps/comskip-mpeg2dec.Tpo -c -o comskip-mpeg2dec.o `test -f 'mpeg2dec.cpp' || echo './'`mpeg2dec.cpp
g++ -DHAVE_CONFIG_H -I. -g -O2 -std=gnu++11 -MT comskip-comskip.o -MD -MP -MF .deps/comskip-comskip.Tpo -c -o comskip-comskip.o `test -f 'comskip.cpp' || echo './'`comskip.cpp
g++ -DHAVE_CONFIG_H -I. -g -O2 -std=gnu++11 -MT comskip-CsEdges.o -MD -MP -MF .deps/comskip-CsEdges.Tpo -c -o comskip-CsEdges.o `test -f 'CsEdges.cpp' || echo './'`CsEdges.cpp
g++ -DHAVE_CONFIG_H -I. -g -O2 -std=gnu++11 -MT comskip-BlackFrame.o -MD -MP -MF .deps/comskip-BlackFrame.Tpo -c -o comskip-BlackFrame.o `test -f 'BlackFrame.cpp' || echo './'`BlackFrame.cpp
g++ -DHAVE_CONFIG_H -I. -g -O2 -std=gnu++11 -MT comskip-ProcessCsv.o -MD -MP -MF .deps/comskip-ProcessCsv.Tpo -c -o comskip-ProcessCsv.o `test -f 'ProcessCsv.cpp' || echo './'`ProcessCsv.cpp
g++ -DHAVE_CONFIG_H -I. -g -O2 -std=gnu++11 -MT comskip-ProcessArInfo.o -MD -MP -MF .deps/comskip-ProcessArInfo.Tpo -c -o comskip-ProcessArInfo.o `test -f 'ProcessArInfo.cpp' || echo './'`ProcessArInfo.cpp
g++ -DHAVE_CONFIG_H -I. -g -O2 -std=gnu++11 -MT comskip-LoadSettings.o -MD -MP -MF .deps/comskip-LoadSettings.Tpo -c -o comskip-LoadSettings.o `test -f 'LoadSettings.cpp' || echo './'`LoadSettings.cpp
mv -f .deps/comskip-BlackFrame.Tpo .deps/comskip-BlackFrame.Po
mv -f .deps/comskip-CsEdges.Tpo .deps/comskip-CsEdges.Po
mpeg2dec.cpp: In function ‘void {anonymous}::file_close()’:
mpeg2dec.cpp:1627:32: error: ‘avcodec_free_frame’ was not declared in this scope
avcodec_free_frame(is->pFrame);
^
mpeg2dec.cpp:1635:4: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1706) [-Wdeprecated-declarations]
::av_close_input_file(is->pFormatCtx);
^
mpeg2dec.cpp:1635:38: warning: ‘void av_close_input_file(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1706) [-Wdeprecated-declarations]
::av_close_input_file(is->pFormatCtx);
^
LoadSettings.cpp: In member function ‘void CS::CommercialSkipper::loadSettings(int, char**)’:
LoadSettings.cpp:54:16: warning: ignoring return value of ‘int nice(int)’, declared with attribute warn_unused_result [-Wunused-result]
(void)nice(19);
^
LoadSettings.cpp: In member function ‘void CS::CommercialSkipper::loadCutScene(const string&)’:
LoadSettings.cpp:1548:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
::fread(&cs.brightness, sizeof(int), 1, f);
^
ProcessCsv.cpp: In member function ‘void CS::CommercialSkipper::processCsv(std::string)’:
ProcessCsv.cpp:35:38: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
::fgets(line, sizeof(line), in_file); // Skip first line
^
comskip.cpp: In member function ‘bool CS::CommercialSkipper::outputCleanMpg()’:
comskip.cpp:7130:51: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
(void)write(outf, Buf, j);
^
comskip.cpp:7132:77: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
(void)write(outf, MPEG2SysHdr, sizeof(MPEG2SysHdr));
^
make[1]: *** [comskip-mpeg2dec.o] Error 1
make[1]: *** Waiting for unfinished jobs....
comskip.cpp: In member function ‘int CS::CommercialSkipper::inputReffer(const char*, bool)’:
comskip.cpp:11585:38: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
(void)fgets(line, sizeof(line), raw); // Read first line
^
comskip.cpp:11605:38: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
(void)fgets(line, sizeof(line), raw); // Skip second line
^
mv -f .deps/comskip-ProcessArInfo.Tpo .deps/comskip-ProcessArInfo.Po
mv -f .deps/comskip-ProcessCsv.Tpo .deps/comskip-ProcessCsv.Po
mv -f .deps/comskip-LoadSettings.Tpo .deps/comskip-LoadSettings.Po
mv -f .deps/comskip-comskip.Tpo .deps/comskip-comskip.Po
make[1]: Leaving directory `/root/comskip-0.93h'
make: *** [all] Error 2