From 302879cb36fe59e7341690d91e0e656b02ba07a1 Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Fri, 6 Feb 2009 10:35:52 +0000 Subject: Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h Originally committed as revision 17016 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtpenc_h264.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavformat/rtpenc_h264.c') diff --git a/libavformat/rtpenc_h264.c b/libavformat/rtpenc_h264.c index fabc5584dc..26bd4a96a9 100644 --- a/libavformat/rtpenc_h264.c +++ b/libavformat/rtpenc_h264.c @@ -27,11 +27,11 @@ #include "avformat.h" #include "avc.h" -#include "rtp_h264.h" +#include "rtpenc.h" static void nal_send(AVFormatContext *s1, const uint8_t *buf, int size, int last) { - RTPDemuxContext *s = s1->priv_data; + RTPMuxContext *s = s1->priv_data; av_log(s1, AV_LOG_DEBUG, "Sending NAL %x of len %d M=%d\n", buf[0] & 0x1F, size, last); if (size <= s->max_payload_size) { @@ -63,7 +63,7 @@ static void nal_send(AVFormatContext *s1, const uint8_t *buf, int size, int last void ff_rtp_send_h264(AVFormatContext *s1, const uint8_t *buf1, int size) { const uint8_t *r; - RTPDemuxContext *s = s1->priv_data; + RTPMuxContext *s = s1->priv_data; s->timestamp = s->cur_timestamp; r = ff_avc_find_startcode(buf1, buf1 + size); -- cgit v1.2.3