]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Merge rtp_aac.h and rtp_mpv.h in rtpenc.h
authorlucabe <lucabe@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 6 Feb 2009 15:30:41 +0000 (15:30 +0000)
committerlucabe <lucabe@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 6 Feb 2009 15:30:41 +0000 (15:30 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17020 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/rtp_aac.c
libavformat/rtp_aac.h [deleted file]
libavformat/rtp_mpv.h [deleted file]
libavformat/rtpenc.c
libavformat/rtpenc.h

index 60097f125bfc17c4b0cf9a0b299757658d23d601..bfff56a105d3ec976dc8b7ca594b778389924478 100644 (file)
@@ -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 (file)
index df83d42..0000000
+++ /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 (file)
index 378765a..0000000
+++ /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 */
index 62ee905d19c04b2e38c30307caf8f981de408a40..dbb931afd0f5e1486e57ec770dac85dce6682658 100644 (file)
@@ -27,9 +27,6 @@
 #include "network.h"
 
 #include "rtpenc.h"
-#include "rtp_mpv.h"
-#include "rtp_aac.h"
-#include "rtp_h264.h"
 
 //#define DEBUG
 
index d3d029fb93d4302d52143123a21123d0c9028310..c38180cbd50b469f20e52eca6859e46b668f78fa 100644 (file)
@@ -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 */