Revision d09ea618

View differences:

libavformat/avidec.c
82 82
    avi->riff_end = get_le32(pb);   /* RIFF chunk size */
83 83
    avi->riff_end += url_ftell(pb); /* RIFF chunk end */
84 84
    tag = get_le32(pb);
85
    if(tag == MKTAG('A', 'V', 'I', 0x19))
86
        av_log(NULL, AV_LOG_INFO, "file has been generated with a totally broken muxer\n");
87
    else
85 88
    if (tag != MKTAG('A', 'V', 'I', ' ') && tag != MKTAG('A', 'V', 'I', 'X'))
86 89
        return -1;
87 90

  
......
996 999
    if (p->buf[0] == 'R' && p->buf[1] == 'I' &&
997 1000
        p->buf[2] == 'F' && p->buf[3] == 'F' &&
998 1001
        p->buf[8] == 'A' && p->buf[9] == 'V' &&
999
        p->buf[10] == 'I' && p->buf[11] == ' ')
1002
        p->buf[10] == 'I' && (p->buf[11] == ' ' || p->buf[11] == 0x19))
1000 1003
        return AVPROBE_SCORE_MAX;
1001 1004
    else
1002 1005
        return 0;

Also available in: Unified diff