|
@@ -473,6 +473,7 @@ int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt, |
|
|
s->read_buf_index = 0; |
|
|
s->read_buf_index = 0; |
|
|
return 1; |
|
|
return 1; |
|
|
} |
|
|
} |
|
|
|
|
|
return 0; |
|
|
} else if (s->parse_packet) { |
|
|
} else if (s->parse_packet) { |
|
|
rv = s->parse_packet(s->ic, s->dynamic_protocol_context, |
|
|
rv = s->parse_packet(s->ic, s->dynamic_protocol_context, |
|
|
s->st, pkt, ×tamp, buf, len, flags); |
|
|
s->st, pkt, ×tamp, buf, len, flags); |
|
@@ -535,10 +536,11 @@ int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt, |
|
|
memcpy(pkt->data, buf, len); |
|
|
memcpy(pkt->data, buf, len); |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// now perform timestamp things.... |
|
|
// now perform timestamp things.... |
|
|
finalize_packet(s, pkt, timestamp); |
|
|
finalize_packet(s, pkt, timestamp); |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return rv; |
|
|
return rv; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|