changeset 21918:ba25f87420b3

removed useless #if1s added too long time ago
author nicodvb
date Mon, 15 Jan 2007 21:39:30 +0000
parents 57bb521c89e5
children 05223564b604
files libmpdemux/demux_mpg.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c	Mon Jan 15 21:21:42 2007 +0000
+++ b/libmpdemux/demux_mpg.c	Mon Jan 15 21:39:30 2007 +0000
@@ -508,15 +508,12 @@
          }
          file_format=DEMUXER_TYPE_MPEG_ES; //  <-- hack is here :)
       } else
-#if 1
           // fuzzy mpeg4-es detection. do NOT enable without heavy testing of mpeg formats detection!
         if(num_elementary_packets1B6>3 && num_elementary_packets12x>=1 &&
            num_elementary_packetsPES==0 && num_elementary_packets100<=num_elementary_packets12x &&
            demuxer->synced<2) {
              file_format=DEMUXER_TYPE_MPEG4_ES;
         } else
-#endif
-#if 1
          // fuzzy h264-es detection. do NOT enable without heavy testing of mpeg formats detection!
         if((num_h264_slice>3 || (num_h264_dpa>3 && num_h264_dpb>3 && num_h264_dpc>3)) && 
           /* FIXME num_h264_sps>=1 && */ num_h264_pps>=1 && num_h264_idr>=1 &&
@@ -524,7 +521,6 @@
           demuxer->synced<2) {
             file_format=DEMUXER_TYPE_H264_ES;
         } else
-#endif
         {
           if(demuxer->synced==2)
             mp_msg(MSGT_DEMUXER,MSGL_ERR,"MPEG: " MSGTR_MissingVideoStreamBug);