Revision 3d2308b0 libavformat/mov.c

View differences:

libavformat/mov.c
181 181
        a.size -= 8;
182 182
        if(a.size < 0)
183 183
            break;
184
        if (a.size > atom.size - total_size)
185
            a.size = atom.size - total_size;
184
        a.size = FFMIN(a.size, atom.size - total_size);
186 185

  
187 186
        for (i = 0; c->parse_table[i].type != 0L
188 187
             && c->parse_table[i].type != a.type; i++)

Also available in: Unified diff