ref: c06fcb24910e9a5b4bfe50ba7a70002b60e145b1
parent: 6a6d1d618647db79c923a48a1184771117bea3cd
author: ganyang <[email protected]>
date: Wed May 14 10:00:11 EDT 2014
clean redundant code
--- a/codec/console/enc/src/welsenc.cpp
+++ b/codec/console/enc/src/welsenc.cpp
@@ -660,24 +660,6 @@
goto INSIDE_MEM_FREE;
}
}
-
- // if configure file exit, reading configure file firstly
- if(bConfigFile){
- iParsedNum = 2;
- cRdCfg.Openf (argv[1]);
- if (!cRdCfg.ExistFile()) {
- fprintf (stderr, "Specified file: %s not exist, maybe invalid path or parameter settting.\n",
- cRdCfg.GetFileName().c_str());
- iRet = 1;
- goto INSIDE_MEM_FREE;
- }
- iRet = ParseConfig (cRdCfg, pSrcPic, sSvcParam, fs);
- if (iRet) {
- fprintf (stderr, "parse svc parameter config file failed.\n");
- iRet = 1;
- goto INSIDE_MEM_FREE;
- }
- }
if (ParseCommandLine (argc - iParsedNum, argv + iParsedNum, pSrcPic, sSvcParam, fs) != 0) {
printf ("parse pCommand line failed\n");
iRet = 1;