Fix a warning by removing an useless assignment (buf_ptr should be only
authorLuca Abeni <lucabe72@email.it>
Mon, 24 Sep 2007 10:43:26 +0000 (10:43 +0000)
committerLuca Abeni <lucabe72@email.it>
Mon, 24 Sep 2007 10:43:26 +0000 (10:43 +0000)
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

index fb4a66d..02d3e7b 100644 (file)
@@ -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: