Browse Source

qpeg: remove faulty avcodec_get_frame_defaults()

Found-by: {V}
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 11 years ago
parent
commit
c017f15dde
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/qpeg.c

+ 0
- 2
libavcodec/qpeg.c View 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;



Loading…
Cancel
Save