[FFmpeg-devel] [PATCH] Codec lookup: do not use codec_id

Benoit Fouet benoit.fouet
Wed Aug 8 15:31:49 CEST 2007


Nicolas George wrote:
> Le nonidi 19 thermidor, an CCXV, Michael Niedermayer a ?crit :
>   
>> instead of 
>> av_free(x)
>> x=NULL
>>
>> av_freep(&x)
>> could be used
>>     
>
> I had seen av_freep, but I find the first form easier to read.
>
>   
>> besides that iam fine with either patch
>>     
>
> In that case, maybe someone could apply one of them?
>
>   

i'd apply the second one if you apply the minor modification that
Michael pointed out...
(i don't want to be the one applying the first one, even if approved :-P )

-- 
Ben
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-devel mailing list