csrc/ffmpeg/format/FormatIn.hpp
@@ -3,7 +3,6 @@ #include <stdint.h> #include <memory> #include <vector> #include "PsToEs.hpp" struct AVFormatContext; @@ -47,10 +46,10 @@ bool allocCodec(AVCodec *dec, AVStream *s, AVDictionary **options); public: AVStream *getStream(int type = -1); std::vector<AVStream*> allStreams(); AVCodecContext *getCodecContext(int type = 0); AVFormatContext *getFromatContext(){return ctx_;} const double getFPS()const{return fps_;} const bool IsHEVC()const; private: AVFormatContext *ctx_; AVCodecContext *dec_ctx_;