[vlc-commits] zvbi: initialize pointer

Ilkka Ollakka git at videolan.org
Tue Nov 12 17:00:18 CET 2013


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Nov 12 15:32:34 2013 +0200| [b5c3ef9f2d082bc6805fc23761ca82015dff9b47] | committer: Ilkka Ollakka

zvbi: initialize pointer

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

 modules/codec/zvbi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/zvbi.c b/modules/codec/zvbi.c
index 7f18f08..f75fab1 100644
--- a/modules/codec/zvbi.c
+++ b/modules/codec/zvbi.c
@@ -483,7 +483,7 @@ static subpicture_t *Subpicture( decoder_t *p_dec, video_format_t *p_fmt,
                                  mtime_t i_pts )
 {
     video_format_t fmt;
-    subpicture_t *p_spu;
+    subpicture_t *p_spu=NULL;
 
     /* If there is a page or sub to render, then we do that here */
     /* Create the subpicture unit */



More information about the vlc-commits mailing list