Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 231974 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/demuxers/demux_rawdv.c (-2 / +1 lines)
Lines 374-381 Link Here
374
    }
374
    }
375
375
376
    /* DIF (DV) movie file */
376
    /* DIF (DV) movie file */
377
    if (!((buf[0] == 0x1f) && (buf[1] == 0x07) && (buf[2] == 00) &&
377
    if (memcmp(buf, "\x1F\x07\x00", 3) != 0 || !(buf[4] ^ 0x01)) {
378
	  (buf[4] ^ 0x01))) {
379
      free (this);
378
      free (this);
380
      return NULL;
379
      return NULL;
381
    }
380
    }

Return to bug 231974