Mercurial > mplayer.hg
changeset 23711:0ba2f26f2589
10l, forgot to skip the stuffing bytes eventually prepended to vc1 packets (identified by pes_extension2 subid)
author | nicodvb |
---|---|
date | Sat, 07 Jul 2007 08:56:14 +0000 |
parents | df28abb8fe74 |
children | 2779d6600071 |
files | libmpdemux/demux_mpg.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c Sat Jul 07 08:31:57 2007 +0000 +++ b/libmpdemux/demux_mpg.c Sat Jul 07 08:56:14 2007 +0000 @@ -411,8 +411,10 @@ 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 + hdrlen--; 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; + if(hdrlen>0) stream_skip(demux->stream, hdrlen); } }