Revision 3ba1438d libavformat/asf.c

View differences:

libavformat/asf.c
757 757
    return pts;
758 758
}
759 759

  
760
static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts)
760
static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int flags)
761 761
{
762 762
    ASFContext *asf = s->priv_data;
763 763
    
764 764
    if (asf->packet_size <= 0)
765 765
        return -1;
766 766

  
767
    if(av_seek_frame_binary(s, stream_index, pts)<0)
767
    if(av_seek_frame_binary(s, stream_index, pts, flags)<0)
768 768
        return -1;
769 769

  
770 770
    asf_reset_header(s);

Also available in: Unified diff