summaryrefslogtreecommitdiff
path: root/libavcodec/targa.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-04-24 14:09:24 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-04-24 14:09:24 +0000
commit1c86db80a94a00e02716831268461ee7f490f157 (patch)
tree9329acd8da40cf6be26dd9710260f2f4afdfd765 /libavcodec/targa.c
parentf83c57735e44aaec8245dc1f7412f60ff5faaa0e (diff)
downloadffmpeg-1c86db80a94a00e02716831268461ee7f490f157.tar.gz
Remove useless assignment during initialization for some decoders
Originally committed as revision 18680 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/targa.c')
-rw-r--r--libavcodec/targa.c1
1 files changed, 0 insertions, 1 deletions
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;
}