[FFmpeg-devel] [PATCH] always enable reuse for reading multicast udp
aviad rozenhek
aviadr1
Thu Sep 16 19:50:35 CEST 2010
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;
+ }
--
Aviad Rozenhek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_udp_read_loop_v3.diff
Type: text/x-patch
Size: 2748 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100916/61729ad6/attachment.bin>
More information about the ffmpeg-devel
mailing list