Mercurial > mplayer.hg
changeset 21951:bd3c871c93d0
in vc1 probing code, all packets before the first sequence header must be skipped, not read
author | nicodvb |
---|---|
date | Sat, 20 Jan 2007 13:10:40 +0000 |
parents | 647f3be495eb |
children | 58d083ace2f2 |
files | libmpdemux/video.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/video.c Sat Jan 20 13:06:17 2007 +0000 +++ b/libmpdemux/video.c Sat Jan 20 13:10:40 2007 +0000 @@ -365,7 +365,7 @@ while(1){ int i=sync_video_packet(d_video); if(i==0x10F) break; // found it! - if(!i || !read_video_packet(d_video)){ + if(!i || !skip_video_packet(d_video)){ if( mp_msg_test(MSGT_DECVIDEO,MSGL_V) ) mp_msg(MSGT_DECVIDEO,MSGL_V,"NONE :(\n"); mp_msg(MSGT_DECVIDEO,MSGL_ERR, "Couldn't find VC-1 sequence header\n"); return 0;