diff options
Diffstat (limited to 'libavformat/concat.c')
-rw-r--r-- | libavformat/concat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/concat.c b/libavformat/concat.c index ed64b6e675..3d25788920 100644 --- a/libavformat/concat.c +++ b/libavformat/concat.c @@ -183,7 +183,7 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence) if (result >= 0) { data->current = i; while (i) - result += nodes[i--].size; + result += nodes[--i].size; } return result; } |