From d0c3be95687cd9f72fc479ed54e6ef87dce7de44 Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Mon, 24 Sep 2007 10:43:26 +0000 Subject: [PATCH] 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 --- libavformat/rtp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/rtp.c b/libavformat/rtp.c index fb4a66d..02d3e7b 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: -- 2.7.4