[FFmpeg-devel] [PATCH] Set systems that should support DOS paths in configure
Michael Niedermayer
michaelni
Wed Oct 8 03:05:10 CEST 2008
On Tue, Oct 07, 2008 at 08:29:50PM +0100, M?ns Rullg?rd wrote:
> "Ramiro Polla" <ramiro.polla at gmail.com> writes:
[...]
> > #ifdef __BEOS__
> > # include <sys/socket.h>
> > # include <netinet/in.h>
> > Index: libavformat/avio.c
> > ===================================================================
> > --- libavformat/avio.c (revision 15575)
> > +++ libavformat/avio.c (working copy)
> > @@ -21,6 +21,7 @@
> >
> > #include "libavutil/avstring.h"
> > #include "libavcodec/opt.h"
> > +#include "os_support.h"
> > #include "avformat.h"
> >
> > #if LIBAVFORMAT_VERSION_MAJOR >= 53
> > @@ -115,7 +116,7 @@
> > p++;
> > }
> > /* if the protocol has length 1, we consider it is a dos drive */
> > - if (*p == '\0' || (q - proto_str) <= 1) {
> > + if (*p == '\0' || is_dos_path(filename)) {
> > file_proto:
> > strcpy(proto_str, "file");
> > } else {
>
> Over to the maintainer...
iam fine with this one
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081008/b3aff197/attachment.pgp>
More information about the ffmpeg-devel
mailing list