From c017f15dde577472b4e09178385c2f90dd90275b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 17 Nov 2013 21:20:17 +0100 Subject: [PATCH] qpeg: remove faulty avcodec_get_frame_defaults() Found-by: {V} Signed-off-by: Michael Niedermayer --- libavcodec/qpeg.c | 2 -- 1 file changed, 2 deletions(-) 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;