[FFmpeg-devel] [PATCH] socklen_t definition
Diego Biurrun
diego
Mon Sep 17 12:35:46 CEST 2007
On Mon, Sep 17, 2007 at 11:32:05AM +0100, M?ns Rullg?rd wrote:
>
> KO Myung-Hun wrote:
> > Hi/2.
>
> Is that half a hi?
:)
> > Ah, like this ?
>
> Yes, like that.
>
> As for the rest of the patch, how do we know that int is the correct
> type to use if socklen_t doesn't exist? Using the wrong type could
> be dangerous. On Beos we know it's int, but we can't be sure in the
> general case.
Even more important: Reimar came up with a header file that provides the
correct definition. So why can't this be used instead of adding this
(possibly brittle as explained by Mans) check?
Diego
More information about the ffmpeg-devel
mailing list