diff options
author | Martin Storsjö <martin@martin.st> | 2010-09-03 07:10:21 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-09-03 07:10:21 +0000 |
commit | 744a882f6ca012edfcdc188092582b73921f99c3 (patch) | |
tree | 05df50b9fbf8f43c34718aeabcf7579a76eb1ffc /libavformat/rtsp.c | |
parent | 613a4e3f6d9c52251e1449c656ea0a85b424d001 (diff) | |
download | ffmpeg-744a882f6ca012edfcdc188092582b73921f99c3.tar.gz |
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.
Originally committed as revision 25029 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index c3f4d00858..be3eee6411 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1831,7 +1831,7 @@ static int rtsp_fetch_packet(AVFormatContext *s, AVPacket *pkt) * 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; |