diff utils.c @ 2053:4611fce2f394 libavformat

properly compile code for REDIR_DEMUXER
author alex
date Thu, 26 Apr 2007 23:40:36 +0000
parents 3446000701c4
children 3fb09f11d6db
line wrap: on
line diff
--- a/utils.c	Thu Apr 26 19:27:32 2007 +0000
+++ b/utils.c	Thu Apr 26 23:40:36 2007 +0000
@@ -452,7 +452,7 @@
     }
 
     /* XXX: suppress this hack for redirectors */
-#ifdef CONFIG_NETWORK
+#ifdef CONFIG_REDIR_DEMUXER
     if (fmt == &redir_demuxer) {
         err = redir_open(ic_ptr, pb);
         url_fclose(pb);