On Tue, Nov 04, 2014 at 11:48:05PM +0100, Thomas Volkert wrote: > From: Thomas Volkert <tho...@homer-conferencing.com> > > --- [...] > @@ -893,3 +938,15 @@ URLProtocol ff_udp_protocol = { > .priv_data_class = &udp_context_class, > .flags = URL_PROTOCOL_FLAG_NETWORK, > }; > + > +URLProtocol ff_udplite_protocol = { > + .name = "udplite", > + .url_open = udplite_open, > + .url_read = udp_read, > + .url_write = udp_write, > + .url_close = udp_close, > + .url_get_file_handle = udp_get_file_handle, > + .priv_data_size = sizeof(UDPContext), > + .priv_data_class = &udp_context_class,
classes cant be reused, the code will infinite loop otherwise make fate is an example of it also if this fixed ticket 1501, please mention it in the commit message [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can be no freedom; when there is freedom there will be no State. -- Vladimir Lenin
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel