Revision ce5e49b0 libavcodec/cscd.c

View differences:

libavcodec/cscd.c
183 183

  
184 184
    // flip upside down, add difference frame
185 185
    if (buf[0] & 1) { // keyframe
186
        c->pic.pict_type = FF_I_TYPE;
186
        c->pic.pict_type = AV_PICTURE_TYPE_I;
187 187
        c->pic.key_frame = 1;
188 188
        switch (c->bpp) {
189 189
          case 16:
......
197 197
                                 c->linelen, c->height);
198 198
        }
199 199
    } else {
200
        c->pic.pict_type = FF_P_TYPE;
200
        c->pic.pict_type = AV_PICTURE_TYPE_P;
201 201
        c->pic.key_frame = 0;
202 202
        switch (c->bpp) {
203 203
          case 16:

Also available in: Unified diff