Revision a2704c97 libavformat/iss.c

View differences:

libavformat/iss.c
87 87
    get_token(pb, token, sizeof(token)); //Version ID
88 88
    get_token(pb, token, sizeof(token)); //Size
89 89

  
90
    iss->sample_start_pos = url_ftell(pb);
90
    iss->sample_start_pos = avio_tell(pb);
91 91

  
92 92
    st = av_new_stream(s, 0);
93 93
    if (!st)
......
116 116
        return AVERROR(EIO);
117 117

  
118 118
    pkt->stream_index = 0;
119
    pkt->pts = url_ftell(s->pb) - iss->sample_start_pos;
119
    pkt->pts = avio_tell(s->pb) - iss->sample_start_pos;
120 120
    if(s->streams[0]->codec->channels > 0)
121 121
        pkt->pts /= s->streams[0]->codec->channels*2;
122 122
    return 0;

Also available in: Unified diff