Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2052:3d04317ab396 | 2053:4611fce2f394 |
---|---|
450 err = AVERROR_NOFMT; | 450 err = AVERROR_NOFMT; |
451 goto fail; | 451 goto fail; |
452 } | 452 } |
453 | 453 |
454 /* XXX: suppress this hack for redirectors */ | 454 /* XXX: suppress this hack for redirectors */ |
455 #ifdef CONFIG_NETWORK | 455 #ifdef CONFIG_REDIR_DEMUXER |
456 if (fmt == &redir_demuxer) { | 456 if (fmt == &redir_demuxer) { |
457 err = redir_open(ic_ptr, pb); | 457 err = redir_open(ic_ptr, pb); |
458 url_fclose(pb); | 458 url_fclose(pb); |
459 return err; | 459 return err; |
460 } | 460 } |