Changeset e91f2120737a55ea877a5090c03628d370b52090
- Timestamp:
- 03/31/08 15:24:00
(5 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1206969840 +0200
- git-parent:
[9143df1d51f39fe85d11ad4eb1aaa22e348bad85]
- git-author:
- Rafaël Carré <funman@videolan.org> 1206768662 +0100
- Message:
Fix infinite loop
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0b4aa1b |
re91f212 |
|
| 493 | 493 | if( i_absolute < 0 ) |
|---|
| 494 | 494 | i_absolute = 0; |
|---|
| 495 | | if( i_size && i_absolute > i_size ) |
|---|
| 496 | | i_absolute = i_size; |
|---|
| | 495 | if( i_size ) |
|---|
| | 496 | { |
|---|
| | 497 | if( i_absolute > i_size ) |
|---|
| | 498 | i_absolute = i_size; |
|---|
| | 499 | if( stream_Tell( p_demux->s ) >= i_size ) |
|---|
| | 500 | return -1; |
|---|
| | 501 | } |
|---|
| 497 | 502 | |
|---|
| 498 | 503 | if( stream_Seek( p_demux->s, i_absolute ) ) |
|---|