Commit ae6583cc authored by michael's avatar michael

Fix seeking in rm.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12779 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 19c010dd
...@@ -401,7 +401,7 @@ static int sync(AVFormatContext *s, int64_t *timestamp, int *flags, int *stream_ ...@@ -401,7 +401,7 @@ static int sync(AVFormatContext *s, int64_t *timestamp, int *flags, int *stream_
uint32_t state=0xFFFFFFFF; uint32_t state=0xFFFFFFFF;
while(!url_feof(pb)){ while(!url_feof(pb)){
*pos= url_ftell(pb); *pos= url_ftell(pb) - 3;
if(rm->remaining_len > 0){ if(rm->remaining_len > 0){
num= rm->current_stream; num= rm->current_stream;
len= rm->remaining_len; 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