diff options
author | Luca Abeni <lucabe72@email.it> | 2009-02-06 10:35:52 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2009-02-06 10:35:52 +0000 |
commit | 302879cb36fe59e7341690d91e0e656b02ba07a1 (patch) | |
tree | a8e4e0c1984dca69cdba723bcc6374d0951350f9 /libavformat/rtpenc_h264.c | |
parent | 1a45a9f4c06bbbaa322ba744e658491df44f2c2a (diff) | |
download | ffmpeg-302879cb36fe59e7341690d91e0e656b02ba07a1.tar.gz |
Split rtp.h in rtp.h, rtpdec.h, and rtpenc.h
Originally committed as revision 17016 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpenc_h264.c')
-rw-r--r-- | libavformat/rtpenc_h264.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |