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
This commit is contained in:
nicodvb 2007-01-20 13:10:40 +00:00
parent 8823921db8
commit b5d12d6e0f
1 changed files with 1 additions and 1 deletions

View File

@ -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;