[vlc-devel] [PATCH] Subsdelay: fix subpic validate result value
Yuval Tze
yuvaltze at gmail.com
Sun Apr 24 10:40:10 CEST 2011
SubpicValidateWrapper result value wasn't always initialized
---
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 )
--
1.7.1
More information about the vlc-devel
mailing list