[vlc-devel] commit: Fix " Crash when removing filters after a video encoder failed to open". Patch by aurelien on #1923. (Antoine Cellerier )

git version control git at videolan.org
Mon Aug 25 17:31:20 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Mon Aug 25 17:35:15 2008 +0200| [542c7f08e14ae69cfcb1781e56e41a9a053cd974] | committer: Antoine Cellerier 

Fix "Crash when removing filters after a video encoder failed to open". Patch by aurelien on #1923.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=542c7f08e14ae69cfcb1781e56e41a9a053cd974
---

 modules/stream_out/transcode.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/modules/stream_out/transcode.c b/modules/stream_out/transcode.c
index 416c567..1c417c8 100644
--- a/modules/stream_out/transcode.c
+++ b/modules/stream_out/transcode.c
@@ -1953,9 +1953,6 @@ static int transcode_video_process( sout_stream_t *p_stream,
 
             if( transcode_video_encoder_open( p_stream, id ) != VLC_SUCCESS )
             {
-                filter_chain_Delete( id->p_f_chain );
-                if( id->p_uf_chain )
-                    filter_chain_Delete( id->p_uf_chain );
                 p_pic->pf_release( p_pic );
                 transcode_video_close( p_stream, id );
                 id->b_transcode = false;




More information about the vlc-devel mailing list