[FFmpeg-cvslog] 4xm: remove avcodec_get_frame_defaults() calls

Michael Niedermayer git at videolan.org
Sat Jan 26 02:33:41 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jan 26 02:07:44 2013 +0100| [cfc7b9cfff651881ee423832c4329fbd8719045c] | committer: Michael Niedermayer

4xm: remove avcodec_get_frame_defaults() calls

They are not needed anymore

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cfc7b9cfff651881ee423832c4329fbd8719045c
---

 libavcodec/4xm.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 9ea8436..406ca72 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -949,8 +949,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
         return AVERROR_INVALIDDATA;
     }
 
-    avcodec_get_frame_defaults(&f->current_picture);
-    avcodec_get_frame_defaults(&f->last_picture);
     f->version = AV_RL32(avctx->extradata) >> 16;
     ff_dsputil_init(&f->dsp, avctx);
     f->avctx = avctx;



More information about the ffmpeg-cvslog mailing list