From 1c86db80a94a00e02716831268461ee7f490f157 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Fri, 24 Apr 2009 14:09:24 +0000 Subject: Remove useless assignment during initialization for some decoders Originally committed as revision 18680 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/targa.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/targa.c') diff --git a/libavcodec/targa.c b/libavcodec/targa.c index 10b1aa47f2..633a6961c1 100644 --- a/libavcodec/targa.c +++ b/libavcodec/targa.c @@ -229,7 +229,6 @@ static av_cold int targa_init(AVCodecContext *avctx){ avcodec_get_frame_defaults((AVFrame*)&s->picture); avctx->coded_frame= (AVFrame*)&s->picture; - s->picture.data[0] = NULL; return 0; } -- cgit v1.2.3