summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/ptx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c
index 20fabb64ee..b3e2919df7 100644
--- a/libavcodec/ptx.c
+++ b/libavcodec/ptx.c
@@ -30,7 +30,6 @@ static int ptx_init(AVCodecContext *avctx) {
avcodec_get_frame_defaults(&s->picture);
avctx->coded_frame= &s->picture;
- s->picture.data[0] = NULL;
return 0;
}