summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-04-09 23:19:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-04-09 23:19:05 +0000
commitfd31550d239c4aa09075ee1778222596e6637144 (patch)
treeb735925b3a00e5addce9712421eda2057f7871bf /libavformat
parent469d8816d6e1a2eaee3f590c1125ed9586da3014 (diff)
Fix seeking in rm.
Originally committed as revision 12779 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rmdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 9a770cf4d3..f81462102d 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -401,7 +401,7 @@ static int sync(AVFormatContext *s, int64_t *timestamp, int *flags, int *stream_
uint32_t state=0xFFFFFFFF;
while(!url_feof(pb)){
- *pos= url_ftell(pb);
+ *pos= url_ftell(pb) - 3;
if(rm->remaining_len > 0){
num= rm->current_stream;
len= rm->remaining_len;