[FFmpeg-devel] Realmedia patch

Ronald S. Bultje rsbultje
Sun Aug 31 22:44:33 CEST 2008


Hi Luca,

On Sun, Aug 31, 2008 at 3:15 PM, Luca Abeni <lucabe72 at email.it> wrote:
> this is probably a stupid question, but...
>
> 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?

Not at all stupid, it's for the later frame-parsing, which adds a
reading buffer at the end of rdt_data. If you wish (I'm sure you do
:-) ), I can remove it from this patch and re-add it in the later one.

ronald




More information about the ffmpeg-devel mailing list