From fe007cee79c88a084bef01333f86f5da5f3c143f Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 22 十二月 2016 17:57:12 +0800
Subject: [PATCH] add padd pl emements

---
 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