[FFmpeg-devel] Libavnet

Luca Abeni lucabe72
Fri Nov 23 14:39:08 CET 2007


Hi Michael,

Michael Niedermayer wrote:
[...]
>> Index: ffmpeg/ffserver.c
>> ===================================================================
>> --- ffmpeg.orig/ffserver.c	2007-11-23 09:13:58.000000000 +0100
>> +++ ffmpeg/ffserver.c	2007-11-23 09:47:42.000000000 +0100
>> @@ -26,6 +26,7 @@
>>  #include <string.h>
>>  #include <stdlib.h>
>>  #include "avformat.h"
>> +#include "avnet.h"
>>  #include "rtsp.h"
>>  #include "rtp.h"
>>  
>> @@ -4358,6 +4359,7 @@
>>      struct sigaction sigact;
>>  
>>      av_register_all();
>> +    avnet_register_all();
>>  
>>      show_banner(program_name, program_birth_year);
> 
> isnt a avdevice_register_all() missing here?

ffserver does not use libavdevice (as far as I can see),
so I did not add avdevice_register_all().
As first advantage of the libavformat split, we can see
a reduction in ffserver's size :)


[...]
>> +    /* protocols */
>> +    REGISTER_PROTOCOL (HTTP, http);
>> +    REGISTER_PROTOCOL (RTP, rtp);
>> +    REGISTER_PROTOCOL (TCP, tcp);
>> +    REGISTER_PROTOCOL (UDP, udp);
>> +}
> 
> cant review as these have not been diffed against their ancestors

Sorry about this... I used quilt to easily update the patches, and
it's not able to handle copies/renames. I'll post a proper patch
in few minutes.


			Thanks,
				Luca




More information about the ffmpeg-devel mailing list