Unverified Commit 8a8f8589 authored by sezero's avatar sezero Committed by Ralph Giles

mapping0.c (mapping0_unpack): kill a useless memset()

info is allocated with calloc() already.
Signed-off-by: Ralph Giles's avatarRalph Giles <giles@thaumas.net>
parent e3230ddc
......@@ -92,7 +92,6 @@ static vorbis_info_mapping *mapping0_unpack(vorbis_info *vi,oggpack_buffer *opb)
int i,b;
vorbis_info_mapping0 *info=_ogg_calloc(1,sizeof(*info));
codec_setup_info *ci=vi->codec_setup;
memset(info,0,sizeof(*info));
if(vi->channels<=0)goto err_out;
b=oggpack_read(opb,1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment