Mercurial > libavformat.hg
comparison utils.c @ 2555:c226029c8df4 libavformat
loosen dependencies over allformats.h
author | aurel |
---|---|
date | Sun, 16 Sep 2007 23:00:44 +0000 |
parents | 213268d7594e |
children | 0c4febec2258 |
comparison
equal
deleted
inserted
replaced
2554:2d6bfd63d606 | 2555:c226029c8df4 |
---|---|
17 * You should have received a copy of the GNU Lesser General Public | 17 * You should have received a copy of the GNU Lesser General Public |
18 * License along with FFmpeg; if not, write to the Free Software | 18 * License along with FFmpeg; if not, write to the Free Software |
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 */ | 20 */ |
21 #include "avformat.h" | 21 #include "avformat.h" |
22 #include "allformats.h" | |
23 #include "opt.h" | 22 #include "opt.h" |
24 #include "avstring.h" | 23 #include "avstring.h" |
25 #include "riff.h" | 24 #include "riff.h" |
26 #include <sys/time.h> | 25 #include <sys/time.h> |
27 #include <time.h> | 26 #include <time.h> |
466 goto fail; | 465 goto fail; |
467 } | 466 } |
468 | 467 |
469 /* XXX: suppress this hack for redirectors */ | 468 /* XXX: suppress this hack for redirectors */ |
470 #ifdef CONFIG_REDIR_DEMUXER | 469 #ifdef CONFIG_REDIR_DEMUXER |
471 if (fmt == &redir_demuxer) { | 470 if (!strcmp(fmt->name, "redir")) { |
472 int redir_open(AVFormatContext **ic_ptr, ByteIOContext *f); | 471 int redir_open(AVFormatContext **ic_ptr, ByteIOContext *f); |
473 err = redir_open(ic_ptr, pb); | 472 err = redir_open(ic_ptr, pb); |
474 url_fclose(pb); | 473 url_fclose(pb); |
475 return err; | 474 return err; |
476 } | 475 } |