[Ffmpeg-cvslog] r6108 - in trunk: ffmpeg.c libavformat/avformat.h libavformat/utils.c

Måns Rullgård mru
Mon Aug 28 19:17:38 CEST 2006


Michael Niedermayer said:
> Hi
>
> On Mon, Aug 28, 2006 at 04:16:21PM +0100, M?ns Rullg?rd wrote:
> [...]
>>
>> > -    ic = av_alloc_format_context();
>> > +    if(!ap->prealloced_context)
>> > +        ic = av_alloc_format_context();
>> > +    else
>> > +        ic = *ic_ptr;
>>
>> Why not like this?
>>
>> if(*ic_ptr)
>>     ic = *ic_ptr;
>> else
>>     ic = av_alloc_format_context();
>
> wouldnt that break compatibility?

I suppose it would.  Didn't think of that.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-cvslog mailing list