Fix broken seek while on edl and audio only, spoted by Oded Shimon

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13869 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reynaldo 2004-11-03 21:37:09 +00:00
parent 9de130f2dc
commit 06cfdbf62b
1 changed files with 3 additions and 1 deletions

View File

@ -2638,7 +2638,9 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still)
if( next_edl_record ) { // Are we (still?) doing EDL?
if ( !sh_video ) {
mp_msg( MSGT_CPLAYER, MSGL_ERR, MSGTR_EdlNOsh_video );
next_edl_record->next = NULL;
free(edl_records);
next_edl_record = NULL;
edl_records = NULL;
} else {
if( sh_video->pts >= next_edl_record->start_sec ) {
if( next_edl_record->action == EDL_SKIP ) {