Revision 1238fa9f

View differences:

libavcodec/indeo3.c
252 252

  
253 253
        if(cmd == 0) {
254 254
            strip++;
255
            memcpy(strip, strip-1, sizeof(struct ustr));
255
            memcpy(strip, strip-1, sizeof(*strip));
256 256
            strip->split_flag = 1;
257 257
            strip->split_direction = 0;
258 258
            strip->height = (strip->height > 8 ? ((strip->height+8)>>4)<<3 : 4);
259 259
            continue;
260 260
        } else if(cmd == 1) {
261 261
            strip++;
262
            memcpy(strip, strip-1, sizeof(struct ustr));
262
            memcpy(strip, strip-1, sizeof(*strip));
263 263
            strip->split_flag = 1;
264 264
            strip->split_direction = 1;
265 265
            strip->width = (strip->width > 8 ? ((strip->width+8)>>4)<<3 : 4);

Also available in: Unified diff