diff rtp_mpv.c @ 4388:80f21f72d7d6 libavformat

Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h
author lucabe
date Fri, 06 Feb 2009 10:35:52 +0000
parents f49e5d92ab26
children 7734b5d0fc6c
line wrap: on
line diff
--- a/rtp_mpv.c	Fri Feb 06 01:37:19 2009 +0000
+++ b/rtp_mpv.c	Fri Feb 06 10:35:52 2009 +0000
@@ -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;