[Mplayer-cvslog] CVS: main mplayer.c,1.805,1.806

Reynaldo H. Verdejo CVS syncmail at mplayerhq.hu
Wed Nov 3 22:37:12 CET 2004


CVS change done by Reynaldo H. Verdejo CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv9584

Modified Files:
	mplayer.c 
Log Message:
Fix broken seek while on edl and audio only, spoted by Oded Shimon

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.805
retrieving revision 1.806
diff -u -r1.805 -r1.806
--- mplayer.c	3 Nov 2004 20:48:19 -0000	1.805
+++ mplayer.c	3 Nov 2004 21:37:09 -0000	1.806
@@ -2638,7 +2638,9 @@
  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 ) {




More information about the MPlayer-cvslog mailing list