[vlc-commits] decoder: fix a segfault.
Rémi Duraffort
git at videolan.org
Thu Apr 21 19:20:03 CEST 2011
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Apr 21 19:14:24 2011 +0200| [794fc3cac1892f5056f3e62460f8da670b41cd50] | committer: Rémi Duraffort
decoder: fix a segfault.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=794fc3cac1892f5056f3e62460f8da670b41cd50
---
src/input/decoder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index d0c3db4..9688597 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -2234,9 +2234,9 @@ static aout_buffer_t *aout_new_buffer( decoder_t *p_dec, int i_samples )
DecoderFlushBuffering( p_dec );
+ aout_DecDelete( p_owner->p_aout, p_aout_input );
p_owner->p_aout = NULL;
p_owner->p_aout_input = NULL;
- aout_DecDelete( p_owner->p_aout, p_aout_input );
vlc_mutex_unlock( &p_owner->lock );
input_resource_RequestAout( p_owner->p_resource, p_aout );
More information about the vlc-commits
mailing list