Revision 1a45a9f4 libavformat/rdt.c

View differences:

libavformat/rdt.c
295 295

  
296 296
/**< return 0 on packet, no more left, 1 on packet, 1 on partial packet... */
297 297
static int
298
rdt_parse_packet (PayloadContext *rdt, AVStream *st,
298
rdt_parse_packet (AVFormatContext *ctx, PayloadContext *rdt, AVStream *st,
299 299
                  AVPacket *pkt, uint32_t *timestamp,
300 300
                  const uint8_t *buf, int len, int flags)
301 301
{
......
347 347
    if (!buf && s->prev_stream_id != -1) {
348 348
        /* return the next packets, if any */
349 349
        timestamp= 0; ///< Should not be used if buf is NULL, but should be set to the timestamp of the packet returned....
350
        rv= s->parse_packet(s->dynamic_protocol_context,
350
        rv= s->parse_packet(s->ic, s->dynamic_protocol_context,
351 351
                            s->streams[s->prev_stream_id],
352 352
                            pkt, &timestamp, NULL, 0, flags);
353 353
        return rv;
......
374 374
         return -1;
375 375
     }
376 376

  
377
    rv = s->parse_packet(s->dynamic_protocol_context,
377
    rv = s->parse_packet(s->ic, s->dynamic_protocol_context,
378 378
                         s->streams[s->prev_stream_id],
379 379
                         pkt, &timestamp, buf, len, flags);
380 380

  

Also available in: Unified diff