diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-09-16 23:00:44 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-09-16 23:00:44 +0000 |
commit | 6369638bf0440b10cb9c545e6f7a8903b683c21f (patch) | |
tree | 44de3be302967fd52e79e1771b4b45d41dd2f81f /libavformat/utils.c | |
parent | 84a72b167526dd645ff68046ae3233b108cb8679 (diff) |
loosen dependencies over allformats.h
Originally committed as revision 10513 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index e80e57966e..1e04bd217c 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -19,7 +19,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "avformat.h" -#include "allformats.h" #include "opt.h" #include "avstring.h" #include "riff.h" @@ -468,7 +467,7 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename, /* XXX: suppress this hack for redirectors */ #ifdef CONFIG_REDIR_DEMUXER - if (fmt == &redir_demuxer) { + if (!strcmp(fmt->name, "redir")) { int redir_open(AVFormatContext **ic_ptr, ByteIOContext *f); err = redir_open(ic_ptr, pb); url_fclose(pb); |