[FFmpeg-devel] [PATCH] always enable reuse for reading multicast udp

aviad rozenhek aviadr1
Thu Oct 7 08:19:35 CEST 2010


On Tue, Oct 5, 2010 at 00:01, aviad rozenhek <aviadr1 at gmail.com> wrote:

> On Thu, Sep 16, 2010 at 13:50, aviad rozenhek <aviadr1 at gmail.com> wrote:
>
>> On Thu, Sep 16, 2010 at 04:51, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>>
>>> aviad rozenhek <aviadr1 <at> gmail.com> writes:
>>>
>>> > -    int len;
>>> > +    int len, has_reuse_arg = 0;
>>>
>>> Being read-only, the new variable does not look useful.
>>>
>>>
>> fixed by using it properly
>>
>> +        if (find_info_tag(buf, sizeof(buf), "reuse", p)) {
>> +            s->reuse_socket = strtol(buf, NULL, 10);
>> +            has_reuse_arg = 1;
>> +        }
>>
>
> attached is the correct patch which IMHO addresses the comments made
> earlier.
> again the idea here is that reuse should be enabled by default for
> read-only multicast udp, but it can be overriden by user.
>


ping



More information about the ffmpeg-devel mailing list