[vlc-devel] commit: zvbi: clear zvbi page holder before usage. (Jean-Paul Saman )
git version control
git at videolan.org
Wed Feb 11 09:52:00 CET 2009
vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Wed Feb 4 08:21:24 2009 +0100| [b9b8bcc1de8fcd3999e2d8422513cd7083d72dec] | committer: Jean-Paul Saman
zvbi: clear zvbi page holder before usage.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b9b8bcc1de8fcd3999e2d8422513cd7083d72dec
---
modules/codec/zvbi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/codec/zvbi.c b/modules/codec/zvbi.c
index c9d7e29..06bffe0 100644
--- a/modules/codec/zvbi.c
+++ b/modules/codec/zvbi.c
@@ -357,6 +357,7 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block )
vlc_mutex_unlock( &p_sys->lock );
/* Try to see if the page we want is in the cache yet */
+ memset( &p_page, 0, sizeof(vbi_page) );
b_cached = vbi_fetch_vt_page( p_sys->p_vbi_dec, &p_page,
vbi_dec2bcd( i_wanted_page ),
i_wanted_subpage, VBI_WST_LEVEL_3p5,
More information about the vlc-devel
mailing list