From 080acae08ec8cfe413c3e6e45bcf7f9222dfa02d Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期四, 24 十月 2019 16:50:28 +0800
Subject: [PATCH] update

---
 csrc/ffmpeg/format/FormatIn.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/csrc/ffmpeg/format/FormatIn.cpp b/csrc/ffmpeg/format/FormatIn.cpp
index 9f743f8..420c9ac 100644
--- a/csrc/ffmpeg/format/FormatIn.cpp
+++ b/csrc/ffmpeg/format/FormatIn.cpp
@@ -40,7 +40,6 @@
 	{
 		if(io_ctx_){
 			if(read_io_buff_){
-				// av_free(read_io_buff_);
 				read_io_buff_ = NULL;
 			}
 			avio_context_free(&io_ctx_);
@@ -84,7 +83,7 @@
 		}
 		ctx_->pb = io_ctx_;
 
-		auto err = av_probe_input_buffer(ctx_->pb, &ctx_->iformat, NULL, NULL, 0, read_io_buff_size_);
+		auto err = av_probe_input_buffer(ctx_->pb, &ctx_->iformat, NULL, NULL, 0, 0);
 		if(err != 0){
 			logIt("open with custom io prob input buffer error:%d err: %s\n", err, getAVErrorDesc(err).c_str());
 			return -1;

--
Gitblit v1.8.0