[FFmpeg-devel] Image sequence file names
robert.petka at gmail.com
Wed Aug 31 22:43:17 CEST 2011
Dňa 31. 8. 2011 0:59, Michael Niedermayer wrote / napísal(a):
> On Wed, Aug 31, 2011 at 12:08:56AM +0200, Robert Petka wrote:
> when you do, please write the implementation so as to avoid known
> bugs in dirname.
> the manpage says (dunno if you have the manpages on msys)
> In the glibc implementation of the POSIX versions of these functions they modify their argument, and segfault when called with a static string like "/usr/". Before glibc 2.2.1, the glibc version
> of dirname() did not correctly handle pathnames with trailing '/' characters, and generated a segfault if given a NULL argument.
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
Here's the modified patch file with dirname usage.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel