shithub: openh264

Download patch

ref: b4b1d1df8c0f9bd71aeb44724826228643185660
parent: 2b038fa73b2b9ff2abef1e45f7e4db741835cf6e
author: Martin Storsjö <[email protected]>
date: Sun Jun 29 14:15:43 EDT 2014

Move a struct to the actual place where it's used

It's not related to the config reader.

--- a/codec/console/enc/inc/read_config.h
+++ b/codec/console/enc/inc/read_config.h
@@ -42,15 +42,7 @@
 
 #include <stdlib.h>
 #include <string>
-#include "wels_const.h"
 using namespace std;
-
-typedef struct tagFilesSet {
-  string strBsFile;
-  string strSeqFile;	// for cmd lines
-  string strLayerCfgFile[MAX_DEPENDENCY_LAYER];
-  char	 sRecFileName[MAX_DEPENDENCY_LAYER][MAX_FNAME_LEN];
-} SFilesSet;
 
 
 class CReadConfig {
--- a/codec/console/enc/src/welsenc.cpp
+++ b/codec/console/enc/src/welsenc.cpp
@@ -94,6 +94,13 @@
   SSliceConfig	sSliceCfg;
 } SLayerPEncCtx;
 
+typedef struct tagFilesSet {
+  string strBsFile;
+  string strSeqFile;    // for cmd lines
+  string strLayerCfgFile[MAX_DEPENDENCY_LAYER];
+  char   sRecFileName[MAX_DEPENDENCY_LAYER][MAX_FNAME_LEN];
+} SFilesSet;
+
 
 
 /* Ctrl-C handler */