[MPlayer-dev-eng] Re: [PATCH] libmpdemux/asf_streaming.c

Tobias Diedrich ranma at gmx.at
Fri Oct 24 13:43:21 CEST 2003


Björn Sandell wrote:

> I think this is nicer and more consistent with similar code elsewhere in the
> three. The '-1' in 'sizeof(buf)-1' is not needed (per SUS) but as it's used
> at other places I used it here as well.

Wouldn't it be better to fix all the occurences, where sizeof(buf)-1 is
used even though sizeof(buf) is perfectly safe?

-- 
Tobias						PGP: http://9ac7e0bc.2ya.com
This mail is made of 100% recycled bits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031024/9bb3171d/attachment.pgp>


More information about the MPlayer-dev-eng mailing list