Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h

Originally committed as revision 17016 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Luca Abeni
2009-02-06 10:35:52 +00:00
parent 1a45a9f4c0
commit 302879cb36
15 changed files with 273 additions and 186 deletions

View File

@@ -22,13 +22,13 @@
#include "libavcodec/mpegvideo.h"
#include "avformat.h"
#include "rtp.h"
#include "rtpenc.h"
/* NOTE: a single frame must be passed with sequence header if
needed. XXX: use slices. */
void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size)
{
RTPDemuxContext *s = s1->priv_data;
RTPMuxContext *s = s1->priv_data;
int len, h, max_packet_size;
uint8_t *q;
int begin_of_slice, end_of_slice, frame_type, temporal_reference;