fix indent
authorschon <schon@dev03-server>
Wed, 25 May 2011 10:08:17 +0000 (19:08 +0900)
committerschon <schon@dev03-server>
Wed, 25 May 2011 10:08:17 +0000 (19:08 +0900)
lib/dvb/pmt.cpp

index 9d89301..227928b 100644 (file)
@@ -471,27 +471,27 @@ int eDVBServicePMTHandler::getProgramInfo(program &program)
                                                                        isaudio = 1;
                                                                        audio.type = audioStream::atAACHE; // MPEG4-AAC
                                                                        break;
-                                                                case AC3_DESCRIPTOR:
-                                                                {    
-                                                                        Ac3Descriptor *ac = (Ac3Descriptor*)(*desc);
-     
-                                                                        isaudio = 1; 
-                                                                        audio.type = audioStream::atAC3;
+                                                               case AC3_DESCRIPTOR:
+                                                               {    
+                                                                       Ac3Descriptor *ac = (Ac3Descriptor*)(*desc);
 
-                                                                        if(ac->getAc3TypeFlag())
-                                                                        {    
-     
-                                                                                uint8_t ac3type = ac->getAc3Type();
-                                                                                if( ( ac3type & 0x80 ) && ( (ac3type<<5) == 0xA0 || (ac3type<<5) == 0xC0) ) // From EN-300 468 v1.7.1 Table D.1
-                                                                                        audio.type = audioStream::atDDP;
-                                                                        }    
-     
-                                                                        break;
-                                                                }     
-                                                                case ENHANCED_AC3_DESCRIPTOR:
-                                                                        isaudio = 1; 
-                                                                        audio.type = audioStream::atDDP;
-                                                                        break;
+                                                                       isaudio = 1; 
+                                                                       audio.type = audioStream::atAC3;
+
+                                                                       if(ac->getAc3TypeFlag())
+                                                                       {    
+
+                                                                               uint8_t ac3type = ac->getAc3Type();
+                                                                               if( ( ac3type & 0x80 ) && ( (ac3type<<5) == 0xA0 || (ac3type<<5) == 0xC0) ) // From EN-300 468 v1.7.1 Table D.1
+                                                                                       audio.type = audioStream::atDDP;
+                                                                       }    
+
+                                                                       break;
+                                                               }     
+                                                               case ENHANCED_AC3_DESCRIPTOR:
+                                                                       isaudio = 1; 
+                                                                       audio.type = audioStream::atDDP;
+                                                                       break;
      
 
                                                                case REGISTRATION_DESCRIPTOR: /* some services don't have a separate AC3 descriptor */