summaryrefslogtreecommitdiff
path: root/libavcodec/targa.c
diff options
context:
space:
mode:
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;
}