[FFmpeg-devel] [PATCH] urlconcat protocol

Michele Orrù maker.py
Tue Jan 26 08:01:29 CET 2010

HI. As the wiki says, I'm getting throught ffmpeg with a "small and
interesting patch": the Wolfram Gloger's "fileconcat" protocol.
I't a simple protocol which let you concat one/more url.

: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-June/031256.html
: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-July/032121.html

I tried to follow each single indication, and what i got is in the
attachment :)

I've mainly changed how concat.c manages its urls. I don't like at all to
call realloc() for each time we need to append another url. Then, the old
uifo struct had two ints, one for the length (yes, repeated for each node)
and another for the index of the node.  MIne insted has two pointers, one
for the previous url, and another for the next, so the final size shuoldn't

All this aims to a better management of memory, and improve errors handling.

    Michele Orr?.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uconcatp.patch
Type: application/octet-stream
Size: 6775 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100126/d2182539/attachment.obj>

More information about the ffmpeg-devel mailing list