csrc/ffmpeg/format/FormatIn.cpp
@@ -21,7 +21,6 @@ #include "../data/FrameData.hpp" #include "../../common/gpu/info.h" #include "PsToEs.hpp" using namespace logif; @@ -90,9 +89,10 @@ int FormatIn::openGb28181(const char *filename, AVDictionary **options){ std::string fn = filename; addCamera(fn); //GB28181API gb28181(fn); handle_gb28181.addCamera(fn); int ret = openWithCustomIO(NULL, readData, options); int ret = openWithCustomIO((void *)&handle_gb28181, handle_gb28181.readData, options); if(ret < 0){ logIt("do openWithCustomIO failed:%d",ret); }