Revision 1a45a9f4 libavformat/rtpdec.c

View differences:

libavformat/rtpdec.c
407 407
        /* return the next packets, if any */
408 408
        if(s->st && s->parse_packet) {
409 409
            timestamp= 0; ///< Should not be used if buf is NULL, but should be set to the timestamp of the packet returned....
410
            rv= s->parse_packet(s->dynamic_protocol_context,
410
            rv= s->parse_packet(s->ic, s->dynamic_protocol_context,
411 411
                                s->st, pkt, &timestamp, NULL, 0, flags);
412 412
            finalize_packet(s, pkt, timestamp);
413 413
            return rv;
......
472 472
            return 1;
473 473
        }
474 474
    } else if (s->parse_packet) {
475
        rv = s->parse_packet(s->dynamic_protocol_context,
475
        rv = s->parse_packet(s->ic, s->dynamic_protocol_context,
476 476
                             s->st, pkt, &timestamp, buf, len, flags);
477 477
    } else {
478 478
        // at this point, the RTP header has been stripped;  This is ASSUMING that there is only 1 CSRC, which in't wise.

Also available in: Unified diff