summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/dv.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavformat/dv.c b/libavformat/dv.c
index 873cc3fe3d..14be5fb27b 100644
--- a/libavformat/dv.c
+++ b/libavformat/dv.c
@@ -303,13 +303,7 @@ DVDemuxContext* avpriv_dv_init_demux(AVFormatContext *s)
return NULL;
}
- c->sys = NULL;
- c->fctx = s;
- memset(c->ast, 0, sizeof(c->ast));
- c->ach = 0;
- c->frames = 0;
- c->abytes = 0;
-
+ c->fctx = s;
c->vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
c->vst->codec->codec_id = CODEC_ID_DVVIDEO;
c->vst->codec->bit_rate = 25000000;