[FFmpeg-devel] Realmedia patch
Ronald S. Bultje
Tue Sep 2 18:01:46 CEST 2008
On Tue, Sep 2, 2008 at 9:56 AM, Luca Abeni <lucabe72 at email.it> wrote:
> Ronald S. Bultje wrote:
>> On Sun, Aug 31, 2008 at 6:38 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
>>> On Sun, Aug 31, 2008 at 3:15 PM, Luca Abeni <lucabe72 at email.it> wrote:
>>>> Ronald S. Bultje wrote:
>>>>> +static void *
>>>>> +rdt_new_extradata (void)
>>>>> + rdt_data *rdt = av_mallocz(sizeof(rdt_data) + FF_INPUT_BUFFER_PADDING_SIZE);
>>>> why "+ FF_INPUT_BUFFER_PADDING_SIZE" here?
>>> As discussed, attached is a pach without.
>> This one isn't reviewed yet. :-).
> Sorry, I got confused by the number of patches... ;-)
> Anyway, this is
> I think the patch looks ok (but I cannot comment on the interaction
> with the RM demuxer); I do not know if the
> +extern RTPDynamicProtocolHandler ff_rdt_video_handler, ff_rdt_audio_handler,
> + ff_rdt_live_video_handler, ff_rdt_live_audio_handler;
> lines in rtpdec.c are a good idea, but I do not know how to fix this...
> Maybe register_dynamic_payload_handler() should be exported, and we can have
> an rtd_init() function calling it to register ff_rdt_video_handler & friends?
> Just asking... Others' opinions are welcome.
I can export it into rtp_internal.h (mind the name, but it's already
included in rdt.h so that's OK), add an
av_register_rdt_dynamic_protocol_handlers and place it in there. Is
More information about the ffmpeg-devel