Revert previous removal of gsize variable. It breaks seeking.

Originally committed as revision 18618 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Diego Biurrun 16 years ago
parent 5967e1413e
commit e0a6d2c365
  1. 1
      libavformat/asfdec.c

@ -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);

Loading…
Cancel
Save