if there is one. See "[PATCH] Realmedia / RTSP (RDT)" thread on ML.
Originally committed as revision 11493 to svn://svn.ffmpeg.org/ffmpeg/trunk
s->read_buf_index = 0;
return 1;
}
s->read_buf_index = 0;
return 1;
}
+ } else if (s->parse_packet) {
+ rv = s->parse_packet(s, pkt, ×tamp, buf, len);
} else {
// at this point, the RTP header has been stripped; This is ASSUMING that there is only 1 CSRC, which in't wise.
switch(st->codec->codec_id) {
} else {
// at this point, the RTP header has been stripped; This is ASSUMING that there is only 1 CSRC, which in't wise.
switch(st->codec->codec_id) {
- if(s->parse_packet) {
- rv= s->parse_packet(s, pkt, ×tamp, buf, len);
- } else {
av_new_packet(pkt, len);
memcpy(pkt->data, buf, len);
av_new_packet(pkt, len);
memcpy(pkt->data, buf, len);