diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c index da2d3b9d16..8e1a2b5f95 100644 --- a/libavcodec/qpeg.c +++ b/libavcodec/qpeg.c @@ -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;