diff --git a/libavcodec/txd.c b/libavcodec/txd.c
index 9c60b4c03fece850fcd113b35644a1e93833050a..fd0d7ae93aea889b2a5b29dea2d1952a92169cf1 100644
--- a/libavcodec/txd.c
+++ b/libavcodec/txd.c
@@ -33,7 +33,6 @@ static int txd_init(AVCodecContext *avctx) {
 
     avcodec_get_frame_defaults(&s->picture);
     avctx->coded_frame = &s->picture;
-    s->picture.data[0] = NULL;
 
     return 0;
 }