Revision b2dd842d libavformat/rtspdec.c

View differences:

libavformat/rtspdec.c
283 283
            for (i = 0; i < rt->nb_rtsp_streams; i++) {
284 284
                rule_nr = 0;
285 285
                for (r = 0; r < s->nb_streams; r++) {
286
                    if (s->streams[r]->priv_data == rt->rtsp_streams[i]) {
286
                    if (s->streams[r]->id == i) {
287 287
                        if (s->streams[r]->discard != AVDISCARD_ALL) {
288 288
                            if (!first)
289 289
                                av_strlcat(rt->last_subscription, ",",

Also available in: Unified diff