Mercurial > libavformat.hg
comparison asfdec.c @ 4895:0fe3406b958a libavformat
Revert previous removal of gsize variable. It breaks seeking.
author | diego |
---|---|
date | Sun, 19 Apr 2009 11:40:03 +0000 |
parents | b06e35a3c99f |
children | 7c3c541b421e |
comparison
equal
deleted
inserted
replaced
4894:b06e35a3c99f | 4895:0fe3406b958a |
---|---|
990 url_fseek(s->pb, asf->data_object_offset + asf->data_object_size, SEEK_SET); | 990 url_fseek(s->pb, asf->data_object_offset + asf->data_object_size, SEEK_SET); |
991 get_guid(s->pb, &g); | 991 get_guid(s->pb, &g); |
992 if (!guidcmp(&g, &index_guid)) { | 992 if (!guidcmp(&g, &index_guid)) { |
993 int64_t itime; | 993 int64_t itime; |
994 int pct, ict; | 994 int pct, ict; |
995 int64_t gsize= get_le64(s->pb); | |
995 get_guid(s->pb, &g); | 996 get_guid(s->pb, &g); |
996 itime=get_le64(s->pb); | 997 itime=get_le64(s->pb); |
997 pct=get_le32(s->pb); | 998 pct=get_le32(s->pb); |
998 ict=get_le32(s->pb); | 999 ict=get_le32(s->pb); |
999 av_log(s, AV_LOG_DEBUG, "itime:0x%"PRIx64", pct:%d, ict:%d\n",itime,pct,ict); | 1000 av_log(s, AV_LOG_DEBUG, "itime:0x%"PRIx64", pct:%d, ict:%d\n",itime,pct,ict); |