添加自研批检仪检测命令
This commit is contained in:
@@ -1,20 +1,14 @@
|
||||
|
||||
#include "interface/codec.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Codec *codecFind(const char *name)
|
||||
{
|
||||
extern const int __start_codecdef;
|
||||
extern const int __stop_codecdef;
|
||||
codec_def *start=(codec_def *)&__start_codecdef;
|
||||
codec_def *end=(codec_def *)&__stop_codecdef;
|
||||
extern const int __start_codecdef;
|
||||
extern const int __stop_codecdef;
|
||||
codec_def *start = (codec_def *)&__start_codecdef;
|
||||
codec_def *end = (codec_def *)&__stop_codecdef;
|
||||
codec_def *item = 0;
|
||||
for (item=start;item<end;item++)
|
||||
for (item = start; item < end; item++)
|
||||
{
|
||||
if (item != nullptr)
|
||||
{
|
||||
@@ -25,10 +19,3 @@ Codec *codecFind(const char *name)
|
||||
qWarning("can not find codec named '%s'", name);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user