From b5d12d6e0fc3ec6d054c743b3743c0257fd39adf Mon Sep 17 00:00:00 2001 From: nicodvb Date: Sat, 20 Jan 2007 13:10:40 +0000 Subject: in vc1 probing code, all packets before the first sequence header must be skipped, not read git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21969 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpdemux/video.c') diff --git a/libmpdemux/video.c b/libmpdemux/video.c index 4b3afdbe67..ea770e26fb 100644 --- a/libmpdemux/video.c +++ b/libmpdemux/video.c @@ -365,7 +365,7 @@ mpeg_header_parser: 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; -- cgit v1.2.3