Revision 4517ba09 libavcodec/flashsv2enc.c

View differences:

libavcodec/flashsv2enc.c
242 242
static int new_key_frame(FlashSV2Context * s)
243 243
{
244 244
    int i;
245
    FFSWAP(uint8_t * , s->keybuffer, s->encbuffer);
246 245
    memcpy(s->key_blocks, s->frame_blocks, s->blocks_size);
247 246
    memcpy(s->key_frame, s->current_frame, s->frame_size);
248 247

  
......
252 251
        s->key_blocks[i].sl_end   = 0;
253 252
        s->key_blocks[i].data     = 0;
254 253
    }
254
    FFSWAP(uint8_t * , s->keybuffer, s->encbuffer);
255 255

  
256 256
    return 0;
257 257
}

Also available in: Unified diff