ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@gmail.com> | Sun Jan 26 08:13:11 2020 +0100| [556c4e38d57f467a7f9367d8edda0d48ec6f585e] | committer: Michael Niedermayer
avformat/dvenc: Don't zero unnecessarily The muxing context has already been zeroed when it was allocated, hence it is unnecessary to do it again. Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com> Reviewed-by: Paul B Mahol <one...@gmail.com> Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=556c4e38d57f467a7f9367d8edda0d48ec6f585e --- libavformat/dvenc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavformat/dvenc.c b/libavformat/dvenc.c index b89ad4d1c8..c71e532771 100644 --- a/libavformat/dvenc.c +++ b/libavformat/dvenc.c @@ -305,9 +305,6 @@ static DVMuxContext* dv_init_mux(AVFormatContext* s) if (s->nb_streams > 5) return NULL; - c->n_ast = 0; - c->ast[0] = c->ast[1] = c->ast[2] = c->ast[3] = NULL; - /* We have to sort out where audio and where video stream is */ for (i=0; i<s->nb_streams; i++) { switch (s->streams[i]->codecpar->codec_type) { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".