[FFmpeg-cvslog] r25029 - trunk/libavformat/rtsp.c

mstorsjo subversion
Fri Sep 3 09:10:21 CEST 2010


Author: mstorsjo
Date: Fri Sep  3 09:10:21 2010
New Revision: 25029

Log:
rtsp: 10l, try to update the correct rtp stream

This fixes a bug from rev 22917. Now RTSP streams where the individual RTCP
sender reports aren't sent at the same time actually are synced properly.

Modified:
   trunk/libavformat/rtsp.c

Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c	Thu Sep  2 23:41:07 2010	(r25028)
+++ trunk/libavformat/rtsp.c	Fri Sep  3 09:10:21 2010	(r25029)
@@ -1831,7 +1831,7 @@ static int rtsp_fetch_packet(AVFormatCon
                  * as this one. */
                 int i;
                 for (i = 0; i < rt->nb_rtsp_streams; i++) {
-                    RTPDemuxContext *rtpctx2 = rtsp_st->transport_priv;
+                    RTPDemuxContext *rtpctx2 = rt->rtsp_streams[i]->transport_priv;
                     if (rtpctx2 &&
                         rtpctx2->first_rtcp_ntp_time == AV_NOPTS_VALUE)
                         rtpctx2->first_rtcp_ntp_time = rtpctx->first_rtcp_ntp_time;



More information about the ffmpeg-cvslog mailing list