Commit fd31550d authored by Michael Niedermayer's avatar Michael Niedermayer

Fix seeking in rm.

Originally committed as revision 12779 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 469d8816
......@@ -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;
......
This diff is collapsed.
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