Revision ce5e49b0 libavcodec/smacker.c

View differences:

libavcodec/smacker.c
373 373
    smk->pic.palette_has_changed = buf[0] & 1;
374 374
    smk->pic.key_frame = !!(buf[0] & 2);
375 375
    if(smk->pic.key_frame)
376
        smk->pic.pict_type = FF_I_TYPE;
376
        smk->pic.pict_type = AV_PICTURE_TYPE_I;
377 377
    else
378
        smk->pic.pict_type = FF_P_TYPE;
378
        smk->pic.pict_type = AV_PICTURE_TYPE_P;
379 379

  
380 380
    buf++;
381 381
    for(i = 0; i < 256; i++)

Also available in: Unified diff