Created
June 15, 2016 01:00
-
-
Save rohieb/854b27192374413561cd2892888fca22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Videos/untrunc (master) $ make | |
/usr/bin/qmake -o Makefile untrunc.pro | |
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DVERBOSE -DVERBOSE1 -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I-I/usr/local/lib -I. -o main.o main.cpp | |
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DVERBOSE -DVERBOSE1 -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I-I/usr/local/lib -I. -o atom.o atom.cpp | |
atom.cpp: In destructor ‘Atom::~Atom()’: | |
atom.cpp:17:26: warning: deleting object of polymorphic class type ‘Atom’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] | |
delete children[i]; | |
^ | |
atom.cpp: In member function ‘void Atom::parse(File&)’: | |
atom.cpp:46:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if(content.size() < length -8) | |
^ | |
atom.cpp: In member function ‘void Atom::prune(std::__cxx11::string)’: | |
atom.cpp:231:20: warning: deleting object of polymorphic class type ‘Atom’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] | |
delete child; | |
^ | |
In file included from atom.cpp:9:0: | |
atom.cpp: In member function ‘void Atom::writeInt(int, int64_t)’: | |
atom.cpp:257:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
assert(content.size() >= offset + 4); | |
^ | |
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DVERBOSE -DVERBOSE1 -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I-I/usr/local/lib -I. -o mp4.o mp4.cpp | |
mp4.cpp: In destructor ‘Mp4::~Mp4()’: | |
mp4.cpp:43:9: warning: deleting object of polymorphic class type ‘Atom’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] | |
delete root; | |
^ | |
mp4.cpp: In member function ‘void Mp4::makeStreamable(std::__cxx11::string, std::__cxx11::string)’: | |
mp4.cpp:139:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
for(int i = 0; i < stcos.size(); i++) { | |
^ | |
mp4.cpp:142:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
for(unsigned int i = 0; i < offsets; i++) { | |
^ | |
mp4.cpp: In member function ‘void Mp4::repair(std::__cxx11::string)’: | |
mp4.cpp:306:11: warning: deleting object of polymorphic class type ‘Atom’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] | |
delete atom; | |
^ | |
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DVERBOSE -DVERBOSE1 -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I-I/usr/local/lib -I. -o file.o file.cpp | |
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DVERBOSE -DVERBOSE1 -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I-I/usr/local/lib -I. -o track.o track.cpp | |
track.cpp: In member function ‘void Codec::parse(Atom*, std::vector<int>&, Atom*)’: | |
track.cpp:62:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
for(int i = 0; i < offsets.size(); i++) { | |
^ | |
track.cpp: At global scope: | |
track.cpp:80:51: warning: unused parameter ‘maxlength’ [-Wunused-parameter] | |
bool Codec::matchSample(unsigned char *start, int maxlength) { | |
^ | |
track.cpp: In member function ‘int Codec::getLength(unsigned char*, int)’: | |
track.cpp:204:40: error: ‘avcodec_alloc_frame’ was not declared in this scope | |
AVFrame *frame = avcodec_alloc_frame(); | |
^ | |
track.cpp: At global scope: | |
track.cpp:322:50: warning: unused parameter ‘maxlength’ [-Wunused-parameter] | |
bool Codec::isKeyframe(unsigned char *start, int maxlength) { | |
^ | |
track.cpp: In member function ‘void Track::parse(Atom*, Atom*)’: | |
track.cpp:391:59: warning: ‘AVCodecContext::codec_name’ is deprecated [-Wdeprecated-declarations] | |
throw string("Could not open codec: ") + codec.context->codec_name; | |
^ | |
In file included from track.cpp:40:0: | |
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:1547:35: note: declared here | |
char codec_name[32]; | |
^ | |
track.cpp:391:59: warning: ‘AVCodecContext::codec_name’ is deprecated [-Wdeprecated-declarations] | |
throw string("Could not open codec: ") + codec.context->codec_name; | |
^ | |
In file included from track.cpp:40:0: | |
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:1547:35: note: declared here | |
char codec_name[32]; | |
^ | |
track.cpp:391:59: warning: ‘AVCodecContext::codec_name’ is deprecated [-Wdeprecated-declarations] | |
throw string("Could not open codec: ") + codec.context->codec_name; | |
^ | |
In file included from track.cpp:40:0: | |
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:1547:35: note: declared here | |
char codec_name[32]; | |
^ | |
track.cpp:378:7: warning: unused variable ‘audio’ [-Wunused-variable] | |
bool audio = (type == string("soun")); | |
^ | |
track.cpp: In member function ‘void Track::fixTimes()’: | |
track.cpp:463:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
for(int i = 0; i < times.size(); i++) | |
^ | |
track.cpp:464:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if(times[i] < min) min = i; | |
^ | |
Makefile:231: recipe for target 'track.o' failed | |
make: *** [track.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment