MCPcopy Create free account
hub / github.com/codestation/qcma / open

Method open

common/avdecoder.cpp:46–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46bool AVDecoder::open(const QString filename)
47{
48 if(avformat_open_input(&pFormatCtx, QFile::encodeName(filename).constData(), NULL, NULL) != 0) {
49 return false;
50 }
51
52 if(avformat_find_stream_info(pFormatCtx, NULL) < 0) {
53 avformat_close_input(&pFormatCtx);
54 return false;
55 }
56
57 return true;
58}
59
60bool AVDecoder::loadCodec(codec_type codec)
61{

Callers 15

openConfigMethod · 0.80
saveListingMethod · 0.80
database.cppFile · 0.80
loadDDSFunction · 0.80
foreachFunction · 0.80
getThumbnailFunction · 0.80
ifFunction · 0.80
loadMethod · 0.80
insertMusicEntryMethod · 0.80
insertVideoEntryMethod · 0.80
loadMethod · 0.80
processAllObjectsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected