changeset 21979:20a9ec250b4f

substream 0x75 doesn't seem to be a valid vc1 stream, after all; removed
author nicodvb
date Mon, 22 Jan 2007 22:29:54 +0000
parents 1dbe952f3b56
children e389774184e2
files libmpdemux/demux_mpg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c	Mon Jan 22 22:24:50 2007 +0000
+++ b/libmpdemux/demux_mpg.c	Mon Jan 22 22:29:54 2007 +0000
@@ -295,7 +295,7 @@
         hdrlen--;
         if(c!=0x81)  { mp_msg(MSGT_DEMUX,MSGL_V,"demux_mpg: unknown pes_extension2 format, len is > 1  \n"); return -1;}
         c=stream_read_char(demux->stream); //pes_extension2 payload === substream id
-        if(c!=0x75 && (c<0x55 || c>0x5F))   { mp_msg(MSGT_DEMUX,MSGL_V,"demux_mpg: unknown vc1 substream_id: 0x%x  \n", c); return -1;}
+        if(c<0x55 || c>0x5F)   { mp_msg(MSGT_DEMUX,MSGL_V,"demux_mpg: unknown vc1 substream_id: 0x%x  \n", c); return -1;}
         pes_ext2_subid=c;
       }
     }