Commit 1b48c576 authored by stefano's avatar stefano

Fix concat seek result.

Patch by Wolfram Gloger wmglo AT-SIGN dent.med.uni-muenchen DOT de.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22302 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 72508148
...@@ -183,7 +183,7 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence) ...@@ -183,7 +183,7 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence)
if (result >= 0) { if (result >= 0) {
data->current = i; data->current = i;
while (i) while (i)
result += nodes[i--].size; result += nodes[--i].size;
} }
return result; return result;
} }
......
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