]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
move unrelated functions declarations out of allformats.h
authoraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 11 Sep 2007 09:27:46 +0000 (09:27 +0000)
committeraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 11 Sep 2007 09:27:46 +0000 (09:27 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10475 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/aiff.c
libavformat/allformats.c
libavformat/allformats.h
libavformat/au.c
libavformat/mmf.c
libavformat/raw.c
libavformat/raw.h [new file with mode: 0644]
libavformat/rtp_internal.h
libavformat/sol.c
libavformat/utils.c
libavformat/wav.c

index 6f1d9cd191efb55f629cece59245652a6e5fc35f..ea98554654b47911609684d7a694b132b38873ae 100644 (file)
@@ -19,7 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 #include "avformat.h"
-#include "allformats.h"
+#include "raw.h"
 #include "riff.h"
 #include "intfloat_readwrite.h"
 
index b991a9318691f32468b1b9d14111b97bb9ee1a46..0a783ba6c4c78d8f4b8400bdc6c4d55ba8bbc448 100644 (file)
@@ -20,6 +20,7 @@
  */
 #include "avformat.h"
 #include "allformats.h"
+#include "rtp_internal.h"
 
 #define REGISTER_MUXER(X,x) \
           if(ENABLE_##X##_MUXER)   av_register_output_format(&x##_muxer)
index 88da77bf34c12942bb38abef021065b6c9bf11cb..eb51c9620c84ba4197bfbc804a8e06d1e2025c98 100644 (file)
@@ -195,13 +195,4 @@ extern URLProtocol rtp_protocol;
 extern URLProtocol tcp_protocol;
 extern URLProtocol udp_protocol;
 
-/* raw.c */
-int pcm_read_seek(AVFormatContext *s,
-                  int stream_index, int64_t timestamp, int flags);
-
-/* rtsp.c */
-int redir_open(AVFormatContext **ic_ptr, ByteIOContext *f);
-/* rtp.c */
-void av_register_rtp_dynamic_payload_handlers(void);
-
 #endif
index bd26e54d6f50df5f40d0c55921e5dc6a87b884c9..dd9d708ff5d7b990ee6f4c61be6e14d160ec075c 100644 (file)
@@ -28,7 +28,7 @@
  */
 
 #include "avformat.h"
-#include "allformats.h"
+#include "raw.h"
 #include "riff.h"
 
 /* if we don't know the size in advance */
index 7fcbde9e7fadf035f9af0f0e8fc00f11c57f2605..be4c6e3cca949eb9977f6132bb4c5c60ad871934 100644 (file)
@@ -19,7 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 #include "avformat.h"
-#include "allformats.h"
+#include "raw.h"
 #include "riff.h"
 
 typedef struct {
index bf0a11146d43c5c64493c45aec65c6de58e360ae..bd9380315ca6b54b1234a48967a8c8ec2fa31fdc 100644 (file)
@@ -21,6 +21,7 @@
  */
 #include "avformat.h"
 #include "ac3_parser.h"
+#include "raw.h"
 
 #ifdef CONFIG_MUXERS
 /* simple formats */
diff --git a/libavformat/raw.h b/libavformat/raw.h
new file mode 100644 (file)
index 0000000..ce3e45c
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * RAW muxer and demuxer
+ * Copyright (C) 2007  Aurelien Jacobs <aurel@gnuage.org>
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVFORMAT_RAW_H
+#define AVFORMAT_RAW_H
+
+#include "avformat.h"
+
+int pcm_read_seek(AVFormatContext *s,
+                  int stream_index, int64_t timestamp, int flags);
+
+#endif /* AVFORMAT_RAW_H */
index b03f74e861f46331b19d8fed36987bcc7533f502..96477620b3131f42bddc2ec4d5ad755527739dc6 100644 (file)
@@ -112,5 +112,8 @@ extern RTPDynamicProtocolHandler *RTPFirstDynamicPayloadHandler;
 int rtsp_next_attr_and_value(const char **p, char *attr, int attr_size, char *value, int value_size); ///< from rtsp.c, but used by rtp dynamic protocol handlers.
 
 void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m);
+
+void av_register_rtp_dynamic_payload_handlers(void);
+
 #endif /* RTP_INTERNAL_H */
 
index 6ab70eef04e2e305fb3e542dd7bee7209b08bf08..3d2456d6638d5746d25580575093130887a44076 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 #include "avformat.h"
-#include "allformats.h"
+#include "raw.h"
 #include "riff.h"
 #include "bswap.h"
 
index 47ac5c0de9742aff94c15e17f8668178c24f97fd..e80e57966eb090a49a1599730e4eb8fbfa790f10 100644 (file)
@@ -469,6 +469,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) {
+        int redir_open(AVFormatContext **ic_ptr, ByteIOContext *f);
         err = redir_open(ic_ptr, pb);
         url_fclose(pb);
         return err;
index cb748a9dcbc8f62b699a92c587d491f89756fd15..9fccf6429552a8989fb69c943fbd30ed21f00528 100644 (file)
@@ -19,7 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 #include "avformat.h"
-#include "allformats.h"
+#include "raw.h"
 #include "riff.h"
 
 typedef struct {