[FFmpeg-cvslog] qpeg: remove faulty avcodec_get_frame_defaults()
Michael Niedermayer
git at videolan.org
Sun Nov 17 21:33:15 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Nov 17 21:20:17 2013 +0100| [c017f15dde577472b4e09178385c2f90dd90275b] | committer: Michael Niedermayer
qpeg: remove faulty avcodec_get_frame_defaults()
Found-by: {V}
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c017f15dde577472b4e09178385c2f90dd90275b
---
libavcodec/qpeg.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c
index da2d3b9..8e1a2b5 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;
More information about the ffmpeg-cvslog
mailing list