[vlc-commits] dirac: no statements after return

Rémi Denis-Courmont git at videolan.org
Tue Apr 22 23:36:31 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 23 00:36:20 2014 +0300| [a4c61f60084dea4d445df61f65d2e3530ee90557] | committer: Rémi Denis-Courmont

dirac: no statements after return

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

 modules/packetizer/dirac.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/packetizer/dirac.c b/modules/packetizer/dirac.c
index 110db0c..6deec71 100644
--- a/modules/packetizer/dirac.c
+++ b/modules/packetizer/dirac.c
@@ -657,9 +657,8 @@ static block_t *dirac_EmitEOS( decoder_t *p_dec, uint32_t i_prev_parse_offset )
 
     p_block->i_flags = DIRAC_NON_DATED;
 
-    return p_block;
-
     (void) p_dec;
+    return p_block;
 }
 
 /***



More information about the vlc-commits mailing list