summaryrefslogtreecommitdiff
path: root/libavformat/rtp.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2007-09-24 10:43:26 +0000
committerLuca Abeni <lucabe72@email.it>2007-09-24 10:43:26 +0000
commitd0c3be95687cd9f72fc479ed54e6ef87dce7de44 (patch)
tree320997202f70a226de0bbcd5d8b6b09463ffb86f /libavformat/rtp.c
parent35fb8134c1b0d999fffa0f9c45fbd0591278d240 (diff)
Fix a warning by removing an useless assignment (buf_ptr should be only
used in the RTP muxer, and not in the demuxer) Originally committed as revision 10561 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp.c')
-rw-r--r--libavformat/rtp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/rtp.c b/libavformat/rtp.c
index fb4a66d151..02d3e7be29 100644
--- a/libavformat/rtp.c
+++ b/libavformat/rtp.c
@@ -690,7 +690,6 @@ int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
len -= infos->au_headers[0].size;
}
s->read_buf_size = len;
- s->buf_ptr = buf;
rv= 0;
break;
default: