From 017b7eb736ccc53c52f81486be8196d7fafc3289 Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 28 十二月 2016 10:31:42 +0800
Subject: [PATCH] add MaterialBuffer

---
 RtspFace/PL_AVFrameBGRA.cpp |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/RtspFace/PL_AVFrameBGRA.cpp b/RtspFace/PL_AVFrameBGRA.cpp
index e59a8a7..9329f14 100644
--- a/RtspFace/PL_AVFrameBGRA.cpp
+++ b/RtspFace/PL_AVFrameBGRA.cpp
@@ -14,13 +14,12 @@
 	uint8_t buffer[1920*1080*4];
 	size_t buffSize;
 	size_t buffSizeMax;
-	
-	AVFormatContext* pAVFormatContext;//#todo delete
+
 	bool payError;
 	
 	PL_AVFrameBGRA_Internal() : 
 		buffSize(0), buffSizeMax(sizeof(buffer)), 
-		pAVFormatContext(nullptr), payError(true)
+		payError(true)
 	{
 	}
 	
@@ -55,8 +54,6 @@
 	PL_AVFrameBGRA_Internal* in = (PL_AVFrameBGRA_Internal*)internal;
 	in->reset();
 
-	in->pAVFormatContext = avformat_alloc_context();
-	
 	return true;
 }
 

--
Gitblit v1.8.0