lavf: call the new seek API from the old.
authorNicolas George <nicolas.george@normalesup.org>
Mon, 29 Apr 2013 21:58:22 +0000 (23:58 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Sat, 4 May 2013 12:11:53 +0000 (14:11 +0200)
commitcc24afb45cfda95eda91ae8dbdfaa26aa35acc36
treec7c313c405db9f7f409ebe3d124b4009b707366f
parentd18341fb1121332056aecc00096159df16d01107
lavf: call the new seek API from the old.

If the demuxer implements read_seek2() and not read_seek(),
call avformat_seek_file() from av_seek_frame().
Allow to properly seek in formats that only implement the
new API from applications that use the old one.
Tested with mplayer and a concat script.
libavformat/utils.c