Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at mpeg.c:67

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

mpeg_resync

(/home/sate/Testcases/c/cve/wireshark-1.2.0/wiretap/mpeg.c)expand/collapse
Show more  
 52  mpeg_resync(wtap *wth, int *err, gchar **err_info _U_)
 53  {
 54          gint64 offset = file_tell(wth->fh);
 55          int count = 0;
 56          int byte = file_getc(wth->fh);
 57   
 58          while (byte != EOF) {
 59                  if (byte == 0xff && count > 0) {
 60                          byte = file_getc(wth->fh);
 61                          if (byte != EOF && (byte & 0xe0) == 0xe0)
 62                                  break;
 63                  } else 
 64                          byte = file_getc(wth->fh);
 65                  count++;
 66          }
 67          file_seek(wth->fh, offset, SEEK_SET, err);
 68          return count;
 69  }
Show more  




Change Warning 5221.35596 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: