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: