[FFmpeg-devel] [PATCH] Add an RTSP muxer

Luca Abeni lucabe72
Thu Jan 7 09:38:52 CET 2010


Martin Storsj? wrote:
> On Thu, 7 Jan 2010, Luca Abeni wrote:
> 
>> A quick question about patch 04/24: why
>> -        if (port > 0) {
>> +        if (dst[0]) {
>>              s.dst_addr = dst;
>> -            s.ttl = ttl;
>>          }
>> +        s.ttl = ttl;
>> and not simply
>> -        if (port > 0) {
>> +        if (dst[0]) {
>>              s.dst_addr = dst;
>>              s.ttl = ttl;
>>          }
> 
> No particular reason, actually, I wasn't really sure of which way to do 
> it, so either way is fine for me.

Committed the simpler version.


			Thanks,
				Luca



More information about the ffmpeg-devel mailing list