• Vladimir Pantelic's avatar
    asfdec: do not fall back to binary/generic search · 69fa2396
    Vladimir Pantelic authored
    asf_read_seek() inside the asf demuxer already does the
    right thing, it tries the index and if that fails it uses
    binary search. If binary search is called from outside of asfdec.c
    it will fail because the asf code cannot clean up after itself.
    Therefore introduce AVFMT_NOBINSEARCH that prevents the seek
    code to fallback to binary search and AVFMT_NOGENSEARCH that
    prevents the seek code to fallback to generic search.
    69fa2396
utils.c 121 KB