Changeset 99180b0a165bb90b5ba1d4ce8ddf3dab1efc7a12
- Timestamp:
- 19/01/08 19:34:05
(10 months ago)
- Author:
- Pavlov Konstantin <thresh@videolan.org>
- git-committer:
- Pavlov Konstantin <thresh@videolan.org> 1200767645 +0000
- git-parent:
[a3aef4e6024deedb24387fa454d210cddf5de2c7]
- git-author:
- Pavlov Konstantin <thresh@videolan.org> 1200767645 +0000
- Message:
Fix a segfault in mpga demuxer module.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r7758266 |
r99180b0 |
|
| 336 | 336 | vlc_bool_t *pb_bool; |
|---|
| 337 | 337 | int i_ret; |
|---|
| | 338 | va_list args_save; |
|---|
| | 339 | |
|---|
| | 340 | va_copy ( args_save, args ); |
|---|
| | 341 | va_end ( args_save ); |
|---|
| 338 | 342 | |
|---|
| 339 | 343 | switch( i_query ) |
|---|
| … | … | |
| 369 | 373 | return VLC_EGENERIC; |
|---|
| 370 | 374 | |
|---|
| 371 | | pi64 = (int64_t *)va_arg( args, int64_t * ); |
|---|
| | 375 | pi64 = (int64_t *)va_arg( args_save, int64_t * ); |
|---|
| 372 | 376 | *pi64 = (p_sys->i_pts + p_sys->i_time_offset) / f_pos; |
|---|
| 373 | 377 | return VLC_SUCCESS; |
|---|