From 602b3b2a792d65e49dba07920b100b5feb39d36f Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期一, 16 九月 2019 13:43:40 +0800 Subject: [PATCH] remove log --- csrc/ffmpeg/format/FormatIn.hpp | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/csrc/ffmpeg/format/FormatIn.hpp b/csrc/ffmpeg/format/FormatIn.hpp index 32c8a81..a569524 100644 --- a/csrc/ffmpeg/format/FormatIn.hpp +++ b/csrc/ffmpeg/format/FormatIn.hpp @@ -3,6 +3,7 @@ #include <stdint.h> #include <memory> +#include "PsToEs.hpp" struct AVFormatContext; struct AVDictionary; @@ -28,7 +29,8 @@ ~FormatIn(); public: - int openWithCustomIO(read_packet fn, AVDictionary **options=NULL); + int openWithCustomIO(void *opaque, read_packet fn, AVDictionary **options=NULL); + int openGb28181(const char *filename, AVDictionary **options); int open(const char *filename, AVDictionary **options); bool findStreamInfo(AVDictionary **options); @@ -61,6 +63,7 @@ AVIOContext *io_ctx_; uint8_t *read_io_buff_; const int read_io_buff_size_; + GB28181API *handle_gb28181; }; } -- Gitblit v1.8.0