properly compile code for REDIR_DEMUXER

Originally committed as revision 8840 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alex Beregszaszi
2007-04-26 23:40:36 +00:00
parent 6a4970abd1
commit e7047005cb
2 changed files with 3 additions and 1 deletions

View File

@ -452,7 +452,7 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
}
/* 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);