summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2009-02-06 15:30:41 +0000
committerLuca Abeni <lucabe72@email.it>2009-02-06 15:30:41 +0000
commit17a5894a23147e328ca3268bf00b068a9ee2c826 (patch)
treee40ecca9bd8f2add2a721476880803676afc5fbb
parent271e6ddd4ac6f5d8e7a0bcf2fd72f61a3c005ef5 (diff)
Merge rtp_aac.h and rtp_mpv.h in rtpenc.h
Originally committed as revision 17020 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/rtp_aac.c1
-rw-r--r--libavformat/rtp_aac.h27
-rw-r--r--libavformat/rtp_mpv.h27
-rw-r--r--libavformat/rtpenc.c3
-rw-r--r--libavformat/rtpenc.h2
5 files changed, 2 insertions, 58 deletions
diff --git a/libavformat/rtp_aac.c b/libavformat/rtp_aac.c
index 60097f125b..bfff56a105 100644
--- a/libavformat/rtp_aac.c
+++ b/libavformat/rtp_aac.c
@@ -19,7 +19,6 @@
*/
#include "avformat.h"
-#include "rtp_aac.h"
#include "rtpenc.h"
#define MAX_FRAMES_PER_PACKET (s->max_frames_per_packet ? s->max_frames_per_packet : 5)
diff --git a/libavformat/rtp_aac.h b/libavformat/rtp_aac.h
deleted file mode 100644
index df83d42427..0000000000
--- a/libavformat/rtp_aac.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * RTP definitions
- *
- * 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_RTP_AAC_H
-#define AVFORMAT_RTP_AAC_H
-
-#include "avformat.h"
-
-void ff_rtp_send_aac(AVFormatContext *s1, const uint8_t *buff, int size);
-
-#endif /* AVFORMAT_RTP_AAC_H */
diff --git a/libavformat/rtp_mpv.h b/libavformat/rtp_mpv.h
deleted file mode 100644
index 378765a546..0000000000
--- a/libavformat/rtp_mpv.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * RTP definitions
- *
- * 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_RTP_MPV_H
-#define AVFORMAT_RTP_MPV_H
-
-#include "avformat.h"
-
-void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size);
-
-#endif /* AVFORMAT_RTP_MPV_H */
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c
index 62ee905d19..dbb931afd0 100644
--- a/libavformat/rtpenc.c
+++ b/libavformat/rtpenc.c
@@ -27,9 +27,6 @@
#include "network.h"
#include "rtpenc.h"
-#include "rtp_mpv.h"
-#include "rtp_aac.h"
-#include "rtp_h264.h"
//#define DEBUG
diff --git a/libavformat/rtpenc.h b/libavformat/rtpenc.h
index d3d029fb93..c38180cbd5 100644
--- a/libavformat/rtpenc.h
+++ b/libavformat/rtpenc.h
@@ -57,5 +57,7 @@ typedef struct RTPMuxContext RTPMuxContext;
void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m);
void ff_rtp_send_h264(AVFormatContext *s1, const uint8_t *buf1, int size);
+void ff_rtp_send_aac(AVFormatContext *s1, const uint8_t *buff, int size);
+void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size);
#endif /* AVFORMAT_RTPENC_H */