[vlc-commits] Subsdelay: fix subpic validate result value

Yuval Tze git at videolan.org
Sun Apr 24 12:31:56 CEST 2011


vlc | branch: master | Yuval Tze <yuvaltze at gmail.com> | Sun Apr 24 11:40:10 2011 +0300| [7c3a382caa15dbade95dd2ded6b015b38dfa2bb6] | committer: Jean-Baptiste Kempf

Subsdelay: fix subpic validate result value

SubpicValidateWrapper result value wasn't always initialized

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/video_filter/subsdelay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_filter/subsdelay.c b/modules/video_filter/subsdelay.c
index b3e0952..f286980 100644
--- a/modules/video_filter/subsdelay.c
+++ b/modules/video_filter/subsdelay.c
@@ -929,7 +929,7 @@ static int SubpicValidateWrapper( subpicture_t *p_subpic, bool has_src_changed,
 {
     subsdelay_heap_entry_t *p_entry;
     mtime_t i_new_ts;
-    int i_result;
+    int i_result = VLC_SUCCESS;
 
     p_entry = p_subpic->updater.p_sys;
     if( !p_entry )



More information about the vlc-commits mailing list