Revision 47772399 libavformat/nutdec.c

View differences:

libavformat/nutdec.c
103 103
    int64_t size;
104 104
//    start= url_ftell(bc) - 8;
105 105

  
106
    init_checksum(bc, av_crc04C11DB7_update, 0);
106 107
    size= get_v(bc);
107 108
    if(size > 4096)
108
        get_be32(bc); //FIXME check this
109
        get_be32(bc);
110
    if(get_checksum(bc) && size > 4096)
111
        return -1;
109 112

  
110 113
    init_checksum(bc, calculate_checksum ? av_crc04C11DB7_update : NULL, 0);
111 114

  

Also available in: Unified diff