Revision 3ba1438d libavformat/mpegts.c

View differences:

libavformat/mpegts.c
1331 1331
    return timestamp;
1332 1332
}
1333 1333

  
1334
static int read_seek(AVFormatContext *s, int stream_index, int64_t target_ts){
1334
static int read_seek(AVFormatContext *s, int stream_index, int64_t target_ts, int flags){
1335 1335
    MpegTSContext *ts = s->priv_data;
1336 1336
    uint8_t buf[TS_PACKET_SIZE];
1337 1337
    int64_t pos;
1338 1338

  
1339
    if(av_seek_frame_binary(s, stream_index, target_ts) < 0)
1339
    if(av_seek_frame_binary(s, stream_index, target_ts, flags) < 0)
1340 1340
        return -1;
1341 1341

  
1342 1342
    pos= url_ftell(&s->pb);

Also available in: Unified diff