csrc/ffmpeg/format/FormatIn.cpp
@@ -274,19 +274,6 @@ return NULL; } std::vector<AVStream*> FormatIn::allStreams(){ std::vector<AVStream*> vec; auto v = getStream(AVMEDIA_TYPE_VIDEO); if (v){ vec.push_back(v); } auto a = getStream(AVMEDIA_TYPE_AUDIO); if (a){ vec.push_back(a); } return vec; } AVCodecContext *FormatIn::getCodecContext(int type){ return dec_ctx_; }