# HG changeset patch # User nicodvb # Date 1169298640 0 # Node ID bd3c871c93d0bd2e182edc0ff4914fd89f717f6e # Parent 647f3be495eb3d1c1a1388fca548d65af08c53bc in vc1 probing code, all packets before the first sequence header must be skipped, not read diff -r 647f3be495eb -r bd3c871c93d0 libmpdemux/video.c --- 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;