On Mon, Oct 23, 2017 at 10:44:07AM +0200, Clément Bœsch wrote: > On Mon, Oct 23, 2017 at 10:42:53AM +0200, Clément Bœsch wrote: > [...] > > how about changing the whole chunk with (untested): > > > > prog = av_strdup(my_program_name); > > dirname = av_dirname(prog); > > pathname = *dirname ? av_asprintf("%s/%s", dirname, "ffmpeg") > > : av_asprintf("ffmpeg") > > av_free(filepath); > ^^^^^^^^ > prog
works fine, will push with this thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. For even the very wise cannot see all ends. -- Gandalf
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel