Revision e7106d5b libavformat/idroq.c

View differences:

libavformat/idroq.c
62 62

  
63 63
static int roq_probe(AVProbeData *p)
64 64
{
65
    if (p->buf_size < 6)
66
        return 0;
67

  
65 68
    if ((LE_16(&p->buf[0]) != RoQ_MAGIC_NUMBER) ||
66 69
        (LE_32(&p->buf[2]) != 0xFFFFFFFF))
67 70
        return 0;

Also available in: Unified diff