avformat: Add a mechanism to allow demuxers to detect byte based seeking.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2013-04-04 04:01:12 +02:00
parent 1c0d8f2563
commit e10f5bd05c
2 changed files with 10 additions and 0 deletions

View File

@@ -2018,6 +2018,8 @@ static int seek_frame_byte(AVFormatContext *s, int stream_index, int64_t pos, in
avio_seek(s->pb, pos, SEEK_SET);
s->io_repositioned = 1;
return 0;
}