[Ffmpeg-cvslog] r6108 - in trunk: ffmpeg.c libavformat/avformat.h libavformat/utils.c
Michael Niedermayer
michaelni
Mon Aug 28 18:55:57 CEST 2006
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?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
More information about the ffmpeg-cvslog
mailing list