Revision 7d77d5f6 libavcodec/mem.c

View differences:

libavcodec/mem.c
49 49
    long diff;
50 50
#endif
51 51

  
52
    /* lets disallow possible ambiguous cases */
52
    /* let's disallow possible ambiguous cases */
53 53
    if(size > INT_MAX)
54 54
        return NULL;
55 55

  
......
103 103
    int diff;
104 104
#endif
105 105

  
106
    /* lets disallow possible ambiguous cases */
106
    /* let's disallow possible ambiguous cases */
107 107
    if(size > INT_MAX)
108 108
        return NULL;
109 109

  
110 110
#ifdef MEMALIGN_HACK
111
    //FIXME this isnt aligned correctly though it probably isnt needed
111
    //FIXME this isn't aligned correctly, though it probably isn't needed
112 112
    if(!ptr) return av_malloc(size);
113 113
    diff= ((char*)ptr)[-1];
114 114
    return realloc(ptr - diff, size + diff) + diff;

Also available in: Unified diff