summaryrefslogtreecommitdiff
path: root/libavcodec/qpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-17 21:20:17 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-17 21:20:17 +0100
commitc017f15dde577472b4e09178385c2f90dd90275b (patch)
treec2e8ac7c323716fcc93e0775ca29f692cf478903 /libavcodec/qpeg.c
parent9f630e8346707c093ac47cbe04384ab89ecd693a (diff)
downloadffmpeg-c017f15dde577472b4e09178385c2f90dd90275b.tar.gz
qpeg: remove faulty avcodec_get_frame_defaults()
Found-by: {V} Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/qpeg.c')
-rw-r--r--libavcodec/qpeg.c2
1 files changed, 0 insertions, 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;