avformat/rcwtenc: Remove redundant zeroing of buffer

Resetting the counter of used elements is enough as nothing is
ever read from the currently unused elements.

Reviewed-by: Marth64 <marth64@proxyid.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-02-08 16:01:06 +01:00
parent d30fe36b88
commit a8e55cf118

View File

@ -76,7 +76,6 @@ static void rcwt_init_cluster(AVFormatContext *avf)
rcwt->cluster_pos = 0;
rcwt->cluster_pts = AV_NOPTS_VALUE;
memset(rcwt->cluster_buf, 0, sizeof(rcwt->cluster_buf));
}
static void rcwt_flush_cluster(AVFormatContext *avf)