mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 18:32:22 +00:00
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:
parent
d30fe36b88
commit
a8e55cf118
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user