Revision ce5e49b0 libavcodec/mimic.c

View differences:

libavcodec/mimic.c
352 352
    }
353 353

  
354 354
    ctx->buf_ptrs[ctx->cur_index].reference = 1;
355
    ctx->buf_ptrs[ctx->cur_index].pict_type = is_pframe ? FF_P_TYPE:FF_I_TYPE;
355
    ctx->buf_ptrs[ctx->cur_index].pict_type = is_pframe ? AV_PICTURE_TYPE_P:AV_PICTURE_TYPE_I;
356 356
    if(ff_thread_get_buffer(avctx, &ctx->buf_ptrs[ctx->cur_index])) {
357 357
        av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
358 358
        return -1;

Also available in: Unified diff