mingw patch by (Bill Eldridge <bill at rfa dot org>)

Originally committed as revision 1347 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Bill Eldridge
2002-12-20 19:25:10 +00:00
committed by Michael Niedermayer
parent e5e65a53cd
commit 9b2e001fc5
2 changed files with 7 additions and 0 deletions

View File

@@ -354,12 +354,14 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
}
/* XXX: suppress this hack for redirectors */
#ifndef __MINGW32__
if (fmt == &redir_demux) {
err = redir_open(ic_ptr, &ic->pb);
url_fclose(&ic->pb);
av_free(ic);
return err;
}
#endif
ic->iformat = fmt;