OSDN Git Service

qpeg: remove faulty avcodec_get_frame_defaults()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 17 Nov 2013 20:20:17 +0000 (21:20 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 17 Nov 2013 20:20:17 +0000 (21:20 +0100)
Found-by: {V}
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/qpeg.c

index da2d3b9..8e1a2b5 100644 (file)
@@ -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;