Changeset 09ed6d819e56ab8405d47eba7b1fcfe8c0778899
- Timestamp:
- 09/02/05 16:00:20
(3 years ago)
- Author:
- Benjamin Pracht <bigben@videolan.org>
- git-committer:
- Benjamin Pracht <bigben@videolan.org> 1125669620 +0000
- git-parent:
[731c3c844c4333fdd0377e0ae4624fd73bda6a6b]
- git-author:
- Benjamin Pracht <bigben@videolan.org> 1125669620 +0000
- Message:
* Don't try to release NULL
* Fixes the "vlc would crash when hitting play" bug
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ra92603f |
r09ed6d8 |
|
| 41 | 41 | vout_thread_t *p_vout = vlc_object_find( p_caller, VLC_OBJECT_VOUT, |
|---|
| 42 | 42 | FIND_ANYWHERE ); |
|---|
| | 43 | |
|---|
| 43 | 44 | if( p_vout && ( config_GetInt( p_caller, "osd" ) || ( i_position >= 0 ) ) ) |
|---|
| 44 | 45 | { |
|---|
| … | … | |
| 57 | 58 | vout_thread_t *p_vout = vlc_object_find( p_caller, VLC_OBJECT_VOUT, |
|---|
| 58 | 59 | FIND_ANYWHERE ); |
|---|
| | 60 | |
|---|
| | 61 | if( !p_vout ) return; |
|---|
| | 62 | |
|---|
| 59 | 63 | if( p_vout && config_GetInt( p_caller, "osd" ) ) |
|---|
| 60 | 64 | { |
|---|
| … | … | |
| 62 | 66 | p_vout->render.i_height, i_channel, i_type ); |
|---|
| 63 | 67 | } |
|---|
| 64 | | vlc_object_release( p_vout ); |
|---|
| 65 | 68 | } |
|---|