[FFmpeg-devel] [RFC] rtsp.c EOF support

Ronald S. Bultje rsbultje
Sat Feb 28 14:28:28 CET 2009


Hi,

On Sat, Feb 28, 2009 at 8:19 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sat, Feb 28, 2009 at 12:56:29AM -0500, Ronald S. Bultje wrote:
>> Index: ffmpeg-svn/libavformat/file.c
>> ===================================================================
>> --- ffmpeg-svn.orig/libavformat/file.c ? ? ? ?2009-01-23 20:03:59.000000000 -0500
>> +++ ffmpeg-svn/libavformat/file.c ? ? 2009-02-28 00:12:52.000000000 -0500
>> @@ -82,6 +82,11 @@
>> ? ? ?return close(fd);
>> ?}
>>
>> +static int file_get_handle(URLContext *h)
>> +{
>> + ? ?return (size_t)h->priv_data;
>> +}
>
> why size_t -> int ?
> these types arent the same, which is wrong for the handle?

file.c uses size_t, but all other protocols use int. Which do you
prefer? I'll just change either one.

Ronald




More information about the ffmpeg-devel mailing list