Mercurial > libavformat.hg
comparison concat.c @ 5771:e8c8f5a002ff libavformat
Fix concat seek result.
Patch by Wolfram Gloger wmglo AT-SIGN dent.med.uni-muenchen DOT de.
author | stefano |
---|---|
date | Mon, 08 Mar 2010 00:22:03 +0000 |
parents | b280788e1936 |
children | d3d45b140065 |
comparison
equal
deleted
inserted
replaced
5770:20ed96c29062 | 5771:e8c8f5a002ff |
---|---|
181 | 181 |
182 result = url_seek(nodes[i].uc, pos, whence); | 182 result = url_seek(nodes[i].uc, pos, whence); |
183 if (result >= 0) { | 183 if (result >= 0) { |
184 data->current = i; | 184 data->current = i; |
185 while (i) | 185 while (i) |
186 result += nodes[i--].size; | 186 result += nodes[--i].size; |
187 } | 187 } |
188 return result; | 188 return result; |
189 } | 189 } |
190 | 190 |
191 URLProtocol concat_protocol = { | 191 URLProtocol concat_protocol = { |