[MPlayer-dev-eng] [PATCH] bzero to memset
Nico Sabbi
nsabbi at tiscali.it
Sat Jan 22 18:03:48 CET 2005
Gianluigi Tiesi wrote:
>diff -NubBr -xCVS -xhelp_mp.h -xGui -x'*.a' -x'*.exe' -x'*.o' -xconfigure.log -xconfig.mak -x.cvsignore -x'*.ini' -xconfig.h -xcodecs.conf.h -xversion.h -x.depend main/libmpdemux/demux_ts.c sherpya/libmpdemux/demux_ts.c
>--- main/libmpdemux/demux_ts.c 2004-12-04 23:59:33.000000000 +0100
>+++ sherpya/libmpdemux/demux_ts.c 2005-01-21 10:47:33.742608000 +0100
>@@ -475,7 +475,7 @@
> req_spid = param->spid;
>
> has_tables = 0;
>- bzero(pes_priv1, sizeof(pes_priv1));
>+ memset(pes_priv1, 0, sizeof(pes_priv1));
> init_pos = stream_tell(demuxer->stream);
> mp_msg(MSGT_DEMUXER, MSGL_INFO, "PROBING UP TO %llu, PROG: %d\n", (uint64_t) param->probe, param->prog);
> while((pos <= init_pos + param->probe) && (! demuxer->stream->eof))
>
>
committed this piece. Thanks
More information about the MPlayer-dev-eng
mailing list