[vlc-devel] commit: shout output: and release the block chain if we encounter the error . (Derk-Jan Hartman )
git version control
git at videolan.org
Mon Jul 28 15:16:36 CEST 2008
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Mon Jul 28 15:16:00 2008 +0200| [0b14bd8712f67d7f1beb669a1e4bc29d33cd31b3]
shout output: and release the block chain if we encounter the error.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0b14bd8712f67d7f1beb669a1e4bc29d33cd31b3
---
modules/access_output/shout.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/access_output/shout.c b/modules/access_output/shout.c
index b00d17e..ad72311 100644
--- a/modules/access_output/shout.c
+++ b/modules/access_output/shout.c
@@ -527,6 +527,7 @@ static ssize_t Write( sout_access_out_t *p_access, block_t *p_buffer )
else
{
msg_Err( p_access, "failed to reconnect to server" );
+ block_ChainRelease (p_buffer);
return VLC_EGENERIC;
}
More information about the vlc-devel
mailing list