summaryrefslogtreecommitdiff
path: root/libavformat/dv.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-03-05 13:57:14 +0100
committerDiego Biurrun <diego@biurrun.de>2012-03-05 17:02:59 +0100
commit0a41f47dc17b49acaff6fe469a6ab358986cc449 (patch)
tree59e7256bf8b1d7b7efb47763db99a3946f8b2a19 /libavformat/dv.c
parent356ee8d7def6e7e09e590d6065f5de5a92b77965 (diff)
dv: Do not redundantly initialize struct members to zero.
Diffstat (limited to 'libavformat/dv.c')
-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;