[FFmpeg-cvslog] r25403 - trunk/libavformat/rtpdec.c
mstorsjo
subversion
Fri Oct 8 09:28:17 CEST 2010
Author: mstorsjo
Date: Fri Oct 8 09:28:17 2010
New Revision: 25403
Log:
rtpdec: Store the previous return value for mpegts when it was -1, too
Modified:
trunk/libavformat/rtpdec.c
Modified: trunk/libavformat/rtpdec.c
==============================================================================
--- trunk/libavformat/rtpdec.c Fri Oct 8 09:26:42 2010 (r25402)
+++ trunk/libavformat/rtpdec.c Fri Oct 8 09:28:17 2010 (r25403)
@@ -471,8 +471,10 @@ static int rtp_parse_packet_internal(RTP
if (!st) {
/* specific MPEG2TS demux support */
ret = ff_mpegts_parse_packet(s->ts, pkt, buf, len);
- if (ret < 0)
+ if (ret < 0) {
+ s->prev_ret = -1;
return -1;
+ }
if (ret < len) {
s->read_buf_size = len - ret;
memcpy(s->buf, buf + ret, s->read_buf_size);
More information about the ffmpeg-cvslog
mailing list