Lines Matching defs:packet
195 av_log(s->ic, AV_LOG_ERROR, "Invalid RTCP SR packet length\n");
246 /* Returns 1 if we should handle this packet. */
287 // duplicate or reordered packet...
418 /* Send a small RTP packet */
488 * feedback packet. */
653 * This was the second switch in rtp_parse packet.
796 RTPPacket **cur = &s->queue, *packet;
798 /* Find the correct place in the queue to insert the packet */
806 packet = av_mallocz(sizeof(*packet));
807 if (!packet)
809 packet->recvtime = av_gettime_relative();
810 packet->seq = seq;
811 packet->len = len;
812 packet->buf = buf;
813 packet->next = *cur;
814 *cur = packet;
847 /* Parse the first packet in the queue, and dequeue it */
866 /* If parsing of the previous packet actually returned 0 or an error,
867 * there's nothing more to be parsed from that packet, but we may have
868 * indicated that we can return the next enqueued packet. */
874 * the packet is left with pts == AV_NOPTS_VALUE */
898 // Calculate the jitter immediately, before queueing the packet
904 /* First packet, or no reordering */
912 "RTP: dropping old packet received too late\n");
915 /* Correct packet */
919 /* Still missing some packet, enqueue this one. */
924 /* Return the first enqueued packet if the queue is full,
936 * Parse an RTP or RTCP packet directly sent as a buffer.
938 * @param pkt returned packet
941 * @return 0 if a packet is returned, 1 if a packet is returned and more can follow
942 * (use buf as NULL to read the next). -1 if no packet (error or no more packet).