diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-04-09 23:19:05 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-04-09 23:19:05 +0000 |
commit | fd31550d239c4aa09075ee1778222596e6637144 (patch) | |
tree | b735925b3a00e5addce9712421eda2057f7871bf /libavformat | |
parent | 469d8816d6e1a2eaee3f590c1125ed9586da3014 (diff) | |
download | ffmpeg-fd31550d239c4aa09075ee1778222596e6637144.tar.gz |
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.c | 2 |
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; |