Revision eafb17d1

View differences:

libavformat/rtp_h264.c
310 310
        break;
311 311
    }
312 312

  
313
    pkt->stream_index = st->index;
314

  
313 315
    return result;
314 316
}
315 317

  
libavformat/rtpdec.c
382 382
        addend = av_rescale(s->last_rtcp_ntp_time - s->first_rtcp_ntp_time, s->st->time_base.den, (uint64_t)s->st->time_base.num << 32);
383 383
        pkt->pts = addend + delta_timestamp;
384 384
    }
385
    pkt->stream_index = s->st->index;
386 385
}
387 386

  
388 387
/**
......
536 535
            memcpy(pkt->data, buf, len);
537 536
            break;
538 537
        }
538

  
539
        pkt->stream_index = st->index;
539 540
    }
540 541

  
541 542
    // now perform timestamp things....

Also available in: Unified diff