diff options
author | Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> | 2010-03-08 00:22:03 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-08 00:22:03 +0000 |
commit | 35eaadcba096cadefb9583c8dcf49e198a05ece0 (patch) | |
tree | 65a897d1d0292bd2a35f27eb1bbd9571bb9d611e /libavformat/concat.c | |
parent | e7e291e96016a3ae0143d1ead35d4dbe5134a157 (diff) | |
download | ffmpeg-35eaadcba096cadefb9583c8dcf49e198a05ece0.tar.gz |
Fix concat seek result.
Patch by Wolfram Gloger wmglo AT-SIGN dent.med.uni-muenchen DOT de.
Originally committed as revision 22302 to svn://svn.ffmpeg.org/ffmpeg/trunk
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; } |