comparison libmpdemux/demux_mpg.c @ 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 71d78117fbf0
comparison
equal deleted inserted replaced
21978:1dbe952f3b56 21979:20a9ec250b4f
293 } 293 }
294 c=stream_read_char(demux->stream); //pes_extension2 flag 294 c=stream_read_char(demux->stream); //pes_extension2 flag
295 hdrlen--; 295 hdrlen--;
296 if(c!=0x81) { mp_msg(MSGT_DEMUX,MSGL_V,"demux_mpg: unknown pes_extension2 format, len is > 1 \n"); return -1;} 296 if(c!=0x81) { mp_msg(MSGT_DEMUX,MSGL_V,"demux_mpg: unknown pes_extension2 format, len is > 1 \n"); return -1;}
297 c=stream_read_char(demux->stream); //pes_extension2 payload === substream id 297 c=stream_read_char(demux->stream); //pes_extension2 payload === substream id
298 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;} 298 if(c<0x55 || c>0x5F) { mp_msg(MSGT_DEMUX,MSGL_V,"demux_mpg: unknown vc1 substream_id: 0x%x \n", c); return -1;}
299 pes_ext2_subid=c; 299 pes_ext2_subid=c;
300 } 300 }
301 } 301 }
302 302
303 if(id==0x1FD && pes_ext2_subid!=-1) { 303 if(id==0x1FD && pes_ext2_subid!=-1) {