[vlc-devel] commit: When checking for filters overflow, actually handle the error ( CID 48) ( Rémi Denis-Courmont )

git version control git at videolan.org
Fri May 30 18:26:03 CEST 2008


vlc | branch: 0.8.6-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Fri May 30 19:27:33 2008 +0300| [dbc21b75cb3b9a7617e36d69f35c4f528b0fc95e]

When checking for filters overflow, actually handle the error (CID 48)

(cherry picked from commit 375c32ffcacd8781b7c5329d4d7714d8c879625b)

Conflicts:

	src/video_output/vout_subpictures.c

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

 src/video_output/vout_subpictures.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c
index c3f30ef..1bdeae9 100644
--- a/src/video_output/vout_subpictures.c
+++ b/src/video_output/vout_subpictures.c
@@ -141,6 +141,7 @@ int spu_Init( spu_t *p_spu )
         if( p_spu->i_filter >= 10 )
         {
             msg_Dbg( p_spu, "can't add anymore filters" );
+            break;
         }
 
         psz_filter = psz_parser;




More information about the vlc-devel mailing list