Changeset 82961e002475be221d573c5d4e71c39606725e53
- Timestamp:
- 06/18/07 11:53:53
(1 year ago)
- Author:
- Jean-Paul Saman <jpsaman@videolan.org>
- git-committer:
- Jean-Paul Saman <jpsaman@videolan.org> 1182160433 +0000
- git-parent:
[244c62e5a7f0d6b77438b0deccbc16cca3a3580f]
- git-author:
- Jean-Paul Saman <jpsaman@videolan.org> 1182160433 +0000
- Message:
Properly cleanup afilters and vfilters on Close(). (Patch by Ikka Ollakka)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc51f608 |
r82961e0 |
|
| 799 | 799 | sout_StreamDelete( p_sys->p_out ); |
|---|
| 800 | 800 | |
|---|
| | 801 | while( p_sys->i_afilters ) |
|---|
| | 802 | { |
|---|
| | 803 | p_sys->i_afilters--; |
|---|
| | 804 | if( p_sys->psz_afilters[p_sys->i_afilters] ) |
|---|
| | 805 | free( p_sys->psz_afilters[p_sys->i_afilters] ); |
|---|
| | 806 | if( p_sys->p_afilters_cfg[p_sys->i_afilters] ) |
|---|
| | 807 | free( p_sys->p_afilters_cfg[p_sys->i_afilters] ); |
|---|
| | 808 | } |
|---|
| | 809 | |
|---|
| 801 | 810 | while( p_sys->p_audio_cfg != NULL ) |
|---|
| 802 | 811 | { |
|---|
| … | … | |
| 812 | 821 | } |
|---|
| 813 | 822 | if( p_sys->psz_aenc ) free( p_sys->psz_aenc ); |
|---|
| | 823 | |
|---|
| | 824 | while( p_sys->i_vfilters ) |
|---|
| | 825 | { |
|---|
| | 826 | p_sys->i_vfilters--; |
|---|
| | 827 | if( p_sys->psz_vfilters[p_sys->i_vfilters] ) |
|---|
| | 828 | free( p_sys->psz_vfilters[p_sys->i_vfilters] ); |
|---|
| | 829 | if( p_sys->p_vfilters_cfg[p_sys->i_vfilters] ) |
|---|
| | 830 | free( p_sys->p_vfilters_cfg[p_sys->i_vfilters] ); |
|---|
| | 831 | } |
|---|
| 814 | 832 | |
|---|
| 815 | 833 | while( p_sys->p_video_cfg != NULL ) |
|---|