[Ffmpeg-devel] [PATCH] register_protocol

Michael Niedermayer michaelni
Mon Jan 30 03:11:21 CET 2006


On Tue, Jan 03, 2006 at 12:00:26PM +0100, Michel Bardiaux wrote:
> 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.

if(p == protocol)
    return -1;

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

and yours is bloated and leaks :)

summary: rejected (first there must be a real problem like the multi
registering, but that can be fixed much simpler)



More information about the ffmpeg-devel mailing list