Revision 5faf1689

View differences:

libavformat/mpeg.c
557 557
#ifdef DEBUG_SEEK
558 558
    printf("read_dts: pos=0x%"PRIx64" next=%d -> ", pos, find_next);
559 559
#endif
560
    url_fseek(s->pb, pos, SEEK_SET);
560
    if (url_fseek(s->pb, pos, SEEK_SET) < 0)
561
        return AV_NOPTS_VALUE;
562

  
561 563
    for(;;) {
562 564
        len = mpegps_read_pes_header(s, &pos, &startcode, &pts, &dts);
563 565
        if (len < 0) {

Also available in: Unified diff