Revert previous removal of gsize variable. It breaks seeking.

Originally committed as revision 18618 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-04-19 11:40:03 +00:00
parent 5967e1413e
commit e0a6d2c365
1 changed files with 1 additions and 0 deletions

View File

@ -992,6 +992,7 @@ static void asf_build_simple_index(AVFormatContext *s, int stream_index)
if (!guidcmp(&g, &index_guid)) {
int64_t itime;
int pct, ict;
int64_t gsize= get_le64(s->pb);
get_guid(s->pb, &g);
itime=get_le64(s->pb);
pct=get_le32(s->pb);