mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
dv: Do not redundantly initialize struct members to zero.
This commit is contained in:
parent
356ee8d7de
commit
0a41f47dc1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user