[vlc-commits] decoder: cosmetics
Rafaël Carré
git at videolan.org
Tue Dec 3 09:05:59 CET 2013
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Nov 27 15:49:03 2013 +0100| [54afb104c1c594331c913b72e5c0f64ae5cd5a2d] | committer: Rafaël Carré
decoder: cosmetics
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=54afb104c1c594331c913b72e5c0f64ae5cd5a2d
---
src/input/decoder.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index 8da9777..4b46a7e 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -2116,9 +2116,7 @@ static void DeleteDecoder( decoder_t * p_dec )
if( p_dec->fmt_out.i_cat == SPU_ES )
{
- vout_thread_t *p_vout;
-
- p_vout = input_resource_HoldVout( p_owner->p_resource );
+ vout_thread_t *p_vout = input_resource_HoldVout( p_owner->p_resource );
if( p_vout )
{
if( p_owner->p_spu_vout == p_vout )
@@ -2520,4 +2518,3 @@ static void spu_del_buffer( decoder_t *p_dec, subpicture_t *p_subpic )
vlc_object_release( p_vout );
}
-
More information about the vlc-commits
mailing list