[FFmpeg-cvslog] r25402 - trunk/libavformat/rtpdec.c
mstorsjo
subversion
Fri Oct 8 09:26:43 CEST 2010
Author: mstorsjo
Date: Fri Oct 8 09:26:42 2010
New Revision: 25402
Log:
rtpdec: Keep track of the previous return value from rtp_parse_packet_internal for mpegts packets
Patch by Robert Schlabbach, robert_s at gmx dot net
Modified:
trunk/libavformat/rtpdec.c
Modified: trunk/libavformat/rtpdec.c
==============================================================================
--- trunk/libavformat/rtpdec.c Thu Oct 7 21:41:04 2010 (r25401)
+++ trunk/libavformat/rtpdec.c Fri Oct 8 09:26:42 2010 (r25402)
@@ -477,8 +477,10 @@ static int rtp_parse_packet_internal(RTP
s->read_buf_size = len - ret;
memcpy(s->buf, buf + ret, s->read_buf_size);
s->read_buf_index = 0;
+ s->prev_ret = 1;
return 1;
}
+ s->prev_ret = 0;
return 0;
} else if (s->parse_packet) {
rv = s->parse_packet(s->ic, s->dynamic_protocol_context,
More information about the ffmpeg-cvslog
mailing list