[vlc-commits] dtv: undo accidental code removal (fixes #9274 probably)

Rémi Denis-Courmont git at videolan.org
Tue Aug 27 18:33:58 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 27 19:33:10 2013 +0300| [ffb72762cbbd7c5f569f840d7e5bed21af27f31d] | committer: Rémi Denis-Courmont

dtv: undo accidental code removal (fixes #9274 probably)

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

 modules/access/dtv/access.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/modules/access/dtv/access.c b/modules/access/dtv/access.c
index 77b2f40..13def2d 100644
--- a/modules/access/dtv/access.c
+++ b/modules/access/dtv/access.c
@@ -576,8 +576,8 @@ static int Control (access_t *access, int query, va_list args)
             break;
         }
 
-        case ACCESS_SET_PRIVATE_ID_CA:
 #ifdef HAVE_DVBPSI
+        case ACCESS_SET_PRIVATE_ID_CA:
         {
             struct dvbpsi_pmt_s *pmt = va_arg (args, struct dvbpsi_pmt_s *);
 
@@ -585,9 +585,10 @@ static int Control (access_t *access, int query, va_list args)
             break;
         }
 #endif
-            return VLC_EGENERIC;
-
         /*case ACCESS_GET_PRIVATE_ID_STATE: TODO? */
+
+        default:
+            return VLC_EGENERIC;
     }
 
     return VLC_SUCCESS;



More information about the vlc-commits mailing list