Commit c017f15d authored by Michael Niedermayer's avatar Michael Niedermayer

qpeg: remove faulty avcodec_get_frame_defaults()

Found-by: {V}
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9f630e83
......@@ -325,8 +325,6 @@ static av_cold int decode_end(AVCodecContext *avctx)
static av_cold int decode_init(AVCodecContext *avctx){
QpegContext * const a = avctx->priv_data;
avcodec_get_frame_defaults(&a->pic);
avcodec_get_frame_defaults(&a->ref);
a->avctx = avctx;
avctx->pix_fmt= AV_PIX_FMT_PAL8;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment