Commit e0a6d2c3 authored by Diego Biurrun's avatar Diego Biurrun

Revert previous removal of gsize variable. It breaks seeking.

Originally committed as revision 18618 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5967e141
...@@ -992,6 +992,7 @@ static void asf_build_simple_index(AVFormatContext *s, int stream_index) ...@@ -992,6 +992,7 @@ static void asf_build_simple_index(AVFormatContext *s, int stream_index)
if (!guidcmp(&g, &index_guid)) { if (!guidcmp(&g, &index_guid)) {
int64_t itime; int64_t itime;
int pct, ict; int pct, ict;
int64_t gsize= get_le64(s->pb);
get_guid(s->pb, &g); get_guid(s->pb, &g);
itime=get_le64(s->pb); itime=get_le64(s->pb);
pct=get_le32(s->pb); pct=get_le32(s->pb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment