[Ffmpeg-devel] [PATCH] Base64 code

Guillaume POIRIER poirierg
Sun Oct 29 12:53:52 CET 2006


Hi,

On 10/29/06, Ryan Martell <rdm4 at martellventures.com> wrote:
>
> On Oct 28, 2006, at 1:51 AM, Oded Shimon wrote:
>
> > On Fri, Oct 27, 2006 at 08:07:47PM -0500, Ryan Martell wrote:
> >>
> >> On Oct 27, 2006, at 7:59 PM, Michael Niedermayer wrote:

[..]

> >> I allocate it with av_malloc, and have never seen av_freep(), so
> >> figured I would change it to something I knew would work right.
> >>
> >> I assume that av_freep() frees the memory that the pointer points to,
> >> but assumptions can get me in trouble...
> >
> > void av_freep(void**p) { av_free(*p); *p = NULL; }
>
> I guess part of my thought process was why was it done this way.
>
> But mine is not to wonder why, mine is just to patch or die.... ;-)
>
>
>
>
> Undid the av_free() and went back to av_freep()

Applied

Guillaume
-- 
With DADVSI (http://en.wikipedia.org/wiki/DADVSI), France finally has
a lead on USA on selling out individuals right to corporations!
Vive la France!




More information about the ffmpeg-devel mailing list