Revision 70305013 libavcodec/libopenjpeg.c

View differences:

libavcodec/libopenjpeg.c
53 53
    LibOpenJPEGContext *ctx = avctx->priv_data;
54 54

  
55 55
    opj_set_default_decoder_parameters(&ctx->dec_params);
56
    avcodec_get_frame_defaults(&ctx->image);
56 57
    avctx->coded_frame = &ctx->image;
57 58
    return 0;
58 59
}

Also available in: Unified diff