[Ffmpeg-devel] [PATCH] Base64 code

Ryan Martell rdm4
Sat Oct 28 03:07:47 CEST 2006


On Oct 27, 2006, at 7:59 PM, Michael Niedermayer wrote:
> [...]
>> @@ -203,7 +203,7 @@
>>               hoststr,
>>               auth_b64);
>>
>> -    av_freep(&auth_b64);
>> +    av_free(auth_b64);
>
> why?

I don't know.  ;-)

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...





More information about the ffmpeg-devel mailing list