logger
This commit is contained in:
@@ -83,6 +83,11 @@ func (p *Extractor) ExtractOriginalImageData() ([]string, error) {
|
||||
snRange[fileno] = append(snRange[fileno], tf.SNo)
|
||||
fsn.WriteString(fmt.Sprintf("%d %d %d\n", i, tf.SNo, fileno))
|
||||
|
||||
if tf.SecretFlag == 0xAA {
|
||||
log.Info("secret frame is not supported")
|
||||
break
|
||||
}
|
||||
|
||||
// 只保留非空帧
|
||||
if tf.FrameFlag != 0x55 && fileno != 0 {
|
||||
datSet[fileno] = append(datSet[fileno], tf.Data...)
|
||||
|
||||
Reference in New Issue
Block a user