[FFmpeg-devel] [PATCH] Set systems that should support DOS paths in configure

Ramiro Polla ramiro.polla
Fri Oct 10 19:00:35 CEST 2008


On Tue, Oct 7, 2008 at 10:05 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> 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

Applied.




More information about the ffmpeg-devel mailing list