[FFmpeg-devel] [PATCH] avformat/srt: add Haivision Open SRT protocol

nablet developer sdk at nablet.com
Thu Oct 12 05:25:56 EEST 2017


On 12-Oct-17 01:01, Derek Buitenhuis wrote:
> Is it possible to deduplicate / share code with udp.c? It seems really iffy to
> duplicate a large swath of code. For example, a bunch of my review comments may
> also correspond to udp.c (in fact they may originate from udp.c).
>
that's true - 90% of your comments are for original udp.c code I didn't 
touch.
I can try to decouple circular_buffer stuff out of udp.c and re-use it, 
as well as few other smaller functions (like parse_source_list).
what would be recommended place for such protocol-shared code? some new 
file in avformat or an existing file in avutil?



More information about the ffmpeg-devel mailing list