[FFmpeg-devel] [PATCH] Realmedia / RTSP (RDT)

Diego Biurrun diego
Fri Jan 4 16:43:07 CET 2008

On Thu, Jan 03, 2008 at 02:32:21PM +0100, Luca Abeni wrote:
> Luca Abeni wrote:
> [...]
>>> Splitting the files is the preferable long-term solution, but it can
>>> still be done later.  If you want to try your hand at refactoring rtp.c
>>> into several smaller parts, go right ahead, it should not be hard.
>> Double-thinking about it, splitting rtp.c should not be much more 
>> difficult than adding the #ifdefs... I am looking at this, and I will post 
>> a patch soon.
> Here is a first attempt... Works fine, and I think the dependencies now 
> look ok.
> The patch looks quite big because I generated it by svn cping rtp.c in 
> rtpdec.c and rtpenc.c. Also note that I left the copyright header 
> untouched.

I haven't looked in detail, but it seems OK at a short glance.  You can
check if the size of libavformat.a changes by your patch.

Also, you could try splitting out rtpdec.c and rtpenc.c one after the
other, this will reduce the size of your patch considerably.


More information about the ffmpeg-devel mailing list