Ticket #36538: libdc1394-macosx-status.patch

File libdc1394-macosx-status.patch, 613 bytes (added by devernay (Frédéric Devernay), 12 years ago)
  • dc1394/macosx/capture.c

     
    150150
    151151    for (i = 0; i < buffer->num_dcls; i++) {
    152152        int packet_size = capture->frames[buffer->i].packet_size;
    153         if ((buffer->pkts[i].status & 0x1F) != 0x11) {
     153        if ((buffer->pkts[i].status & 0x1F) != 0x11 && (buffer->pkts[i].status & 0x1F) != 0) {
    154154            dc1394_log_warning ("packet %d had error status %x",
    155155                    i, buffer->pkts[i].status);
    156156            corrupt = 1;