On Sun, Aug 03, 2014 at 11:53:21PM +0200, Marvin Scholz wrote: > >>+ if (user) > >>+ av_freep(&user); > >>+ if (headers) > >>+ av_freep(&headers); > > > >pointless ifs > > I'm pretty sure I need it, since there are possible cases where > these are not allocated and I can't free them.
av_freep() should be safe to be used with NULL [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB There will always be a question for which you do not know the correct answer.
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel