comparison rtp.c @ 2569:5fa858c38291 libavformat

Fix a warning by removing an useless assignment (buf_ptr should be only used in the RTP muxer, and not in the demuxer)
author lucabe
date Mon, 24 Sep 2007 10:43:26 +0000
parents e9c34ec665c6
children d751acab2622
comparison
equal deleted inserted replaced
2568:59f7ce8ad381 2569:5fa858c38291
688 memcpy(pkt->data, buf, infos->au_headers[0].size); 688 memcpy(pkt->data, buf, infos->au_headers[0].size);
689 buf += infos->au_headers[0].size; 689 buf += infos->au_headers[0].size;
690 len -= infos->au_headers[0].size; 690 len -= infos->au_headers[0].size;
691 } 691 }
692 s->read_buf_size = len; 692 s->read_buf_size = len;
693 s->buf_ptr = buf;
694 rv= 0; 693 rv= 0;
695 break; 694 break;
696 default: 695 default:
697 if(s->parse_packet) { 696 if(s->parse_packet) {
698 rv= s->parse_packet(s, pkt, &timestamp, buf, len); 697 rv= s->parse_packet(s, pkt, &timestamp, buf, len);