From d04ddf9eee23e4058461d4f86e88e5e22a06c7fb Mon Sep 17 00:00:00 2001
From: pansen <pansen626@sina.com>
Date: 星期五, 08 三月 2019 15:13:47 +0800
Subject: [PATCH] 局部变量转换为成员变量

---
 QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.h |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.h b/QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.h
index 1f495fc..65a7dfa 100644
--- a/QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.h
+++ b/QiaoJiaSystem/GB28181DecoderModel/FFmpegDecoderJPG.h
@@ -13,13 +13,12 @@
 #include <iostream>
 #include <unistd.h>
 #include <MyQueue.h>
-#include <Debug.h>
 #include <atomic>
-#include "GlobalSignalWaitLock.hpp"
 
 #include "opencv2/core.hpp"
 #include "opencv2/highgui.hpp"
 #include <list>
+#include "GlobalSignalWaitLock.hpp"
 #include "basic_struct_for_video_image.h"
 
 extern "C"
@@ -167,7 +166,18 @@
         //瀵规敹鍒扮殑甯ц繘琛岃鏁�
         int64_t m_frameIndex = 0;
 
+//*******************************************
+        AVFormatContext *ic;
+        unsigned char *iobuffer;
+        AVIOContext *avio;
+        AVStream *stream;
+        AVCodecContext *ctx;
+        AVCodec *codec;
+        AVCodec *codec_cuvid;
+        AVPacket pkt;
+        AVFrame *frame;
 
+        //*******************************************
         //灏嗗抚淇濆瓨鍒板抚鏁扮粍
         void SaveToPacketVector(AVPacket &packet);
 

--
Gitblit v1.8.0