Revision b2dd842d libavformat/rtsp.c

View differences:

libavformat/rtsp.c
322 322
        if (!strcmp(ff_rtp_enc_name(rtsp_st->sdp_payload_type), "MP2T")) {
323 323
            /* no corresponding stream */
324 324
        } else {
325
            st = av_new_stream(s, 0);
325
            st = av_new_stream(s, rt->nb_rtsp_streams - 1);
326 326
            if (!st)
327 327
                return;
328 328
            rtsp_st->stream_index = st->index;

Also available in: Unified diff