video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2020-10-22 65eb475b323b3b9c28761b4e3009ab3d269963e1
csrc/ffmpeg/format/FormatIn.hpp
@@ -13,7 +13,6 @@
struct AVFrame;
struct AVCodec;
struct AVIOContext;
struct AVBSFContext;
typedef int(* read_packet)(void *opaque,uint8_t *buf, int buf_size);
@@ -52,14 +51,13 @@
      AVFormatContext *getFromatContext(){return ctx_;}
      const double getFPS()const{return fps_;}
      const bool IsHEVC()const;
      const bool isAVC1()const;
      const bool IsAVC1()const;
   private:
       AVFormatContext    *ctx_;
       AVCodecContext       *dec_ctx_;
       int             vs_idx_;
      int             as_idx_;
        AVBSFContext         *bsf_h264, *bsf_hevc;
      VideoProp          *prop_;
       bool             hw_accl_;