[Ffmpeg-devel] [PATCH] register_protocol

Michel Bardiaux mbardiaux
Tue Jan 3 12:00:26 CET 2006


The current implementation has several problems:

(1) Call av_register_all, the register one of yours, then
av_register_all again: yours is lost... Worse: register yours, call
av_register_all, register yours again, you get... only yours.

(2) Relies on a linked list that actually resides in klientland.

Proposed patch removes reliance on a linked list that actually resides 
in klientland; and lets you re-register a builtin protocol (on your 
head...); and protects against multiple registrations of your own protocols.

-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: register_protocol.pat
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060103/e00ca0cd/attachment.txt>



More information about the ffmpeg-devel mailing list