aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-04-19 11:40:03 +0000
committerDiego Biurrun <diego@biurrun.de>2009-04-19 11:40:03 +0000
commite0a6d2c365fb259acf2e3580ff731c45a60cc699 (patch)
treef1aeb55a6ad4362d04cc65d9942fe78adc3a9611
parent5967e1413e174ef362904f9ca71571fc4926f6d1 (diff)
downloadffmpeg-e0a6d2c365fb259acf2e3580ff731c45a60cc699.tar.gz
Revert previous removal of gsize variable. It breaks seeking.
Originally committed as revision 18618 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/asfdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 3cdb4c56e4..805087f174 100644
--- a/libavformat/asfdec.c
+++ b/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);